sgibb / MALDIquant

Quantitative Analysis of Mass Spectrometry Data
https://strimmerlab.github.io/software/maldiquant/
60 stars 25 forks source link

Error in plot,AbstractMassObject,missing with R-devel #65

Closed lgatto closed 4 years ago

lgatto commented 4 years ago
> library("MALDIquant")
> data("fiedler2009subset", package="MALDIquant")
> plot(fiedler2009subset[[14]])
Error in as.double(y) : 
  cannot coerce type 'S4' to vector of type 'double'

with

> sessionInfo()
R Under development (unstable) (2020-03-19 r78011)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/libf77blas.so.3.10.3
LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=fr_FR.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=fr_FR.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] MALDIquant_1.19.3

loaded via a namespace (and not attached):
[1] compiler_4.0.0 tools_4.0.0    parallel_4.0.0

This is probably related to the plot method now being exported from base, or along these changes in R devel.