You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since MSnbase 1.19.9 the import of Spectrum.xml files in synapter isn't working anymore. That happens because MSnbase maskes base::trimws by defining a new generic.
To reproduce:
Rdevel>R.version$version.str
[1] "R Under development (unstable) (2015-11-08 r69614)"Rdevel> trimws(" xx ")
[1] "xx"Rdevel> library("MSnbase"); packageVersion("MSnbase")
# ...Thefollowingobjectismaskedfrom ‘package:base’:trimws
[1] ‘1.19.9’
Rdevel> trimws(" xx ")
Errorin (function (classes, fdef, mtable) :unabletofindaninheritedmethodforfunction ‘trimws’ forsignature ‘"character"’
IMHO there are two possible solutions:
Defining a generic that uses all arguments of trimws:
o Fix trimws generic/methods with useAsDefault (see issue #75)
<2016-02-02 Tue>
o add exprs,MSnSet-method alias (since exprs is now exported)
<2016-02-02 Tue>
Since MSnbase 1.19.9 the import of Spectrum.xml files in synapter isn't working anymore. That happens because MSnbase maskes
base::trimws
by defining a new generic.To reproduce:
IMHO there are two possible solutions:
trimws
:trimws
that in contrast to thebase::trimws
accepts the...
argument (asBiocGenerics
does it foris.unsorted
: https://github.com/Bioconductor-mirror/BiocGenerics/blob/master/R/is.unsorted.R)The text was updated successfully, but these errors were encountered: