michalsta / opentims

Open-source C++ and Python module for opening binary timsTOF data files.
Other
41 stars 11 forks source link

add the na.rm argument required by the range generic. Closes #25 #26

Open sneumann opened 3 months ago

sneumann commented 3 months ago

See getGeneric("range") for required method definition. Yours, Steffen

michalsta commented 3 months ago

Looks good to me, thanks. Matteo? You're the R guy here, mind having a look?

sneumann commented 3 months ago

Hi @MatteoLacki , one more background information is the entry in the R changelog mentioning the change: https://cran.r-project.org/bin/windows/base/old/4.3.3/NEWS.R-4.3.3.html I accidentally committed my wholesale change from name = function() {...} to name <- function() {...} which was an early attempt to tackle the issue (you never know in R ...). I didn't revert it because it is the style in the R manuals, e.g. https://adv-r.hadley.nz/functions.html, but I can do that if you want me to. Yours, Steffen