Question: Unable to load mzR due to built on Rcpp version (1.0.0)
0
gravatar for czw814
15 days ago by
czw8140
czw8140 wrote:

To whom it may concern,

I'm unable to install XCMS (release38) because mzR can not be loaded

install_github(repo="sneumann/xcms",ref="RELEASE_3_8")

Return:

Error: package or namespace load failed for 'mzR':
 .onLoad failed in loadNamespace() for 'mzR', details:
  call: fun(libname, pkgname)
  error: (converted from warning) mzR has been built against a different Rcpp version (1.0.0)
than is installed on your system (1.0.1). This might lead to errors
when loading mzR. If you encounter such issues, please send a report,
including the output of sessionInfo() to the Bioc support forum at 
https://support.bioconductor.org/. For details see also
https://github.com/sneumann/mzR/wiki/mzR-Rcpp-compiler-linker-issue.
Error : package 'mzR' could not be loaded

session info:

- Session info -------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.5.3 (2019-03-11)
 os       Windows >= 8 x64            
 system   x86_64, mingw32             
 ui       RStudio                     
 language (EN)                        
 collate  English_United Kingdom.1252 
 ctype    English_United Kingdom.1252 
 tz       Europe/Paris                
 date     2019-04-07                  

- Packages -----------------------------------------------------------------------------------------
 package      * version date       lib source        
 assertthat     0.2.1   2019-03-21 [1] CRAN (R 3.5.3)
 backports      1.1.3   2018-12-14 [1] CRAN (R 3.5.2)
 Biobase        2.42.0  2018-10-30 [1] Bioconductor  
 BiocGenerics   0.28.0  2018-10-30 [1] Bioconductor  
 callr          3.2.0   2019-03-15 [1] CRAN (R 3.5.3)
 cli            1.1.0   2019-03-19 [1] CRAN (R 3.5.3)
 codetools      0.2-16  2018-12-24 [2] CRAN (R 3.5.3)
 crayon         1.3.4   2017-09-16 [1] CRAN (R 3.5.3)
 curl           3.3     2019-01-10 [1] CRAN (R 3.5.3)
 desc           1.2.0   2018-05-01 [1] CRAN (R 3.5.3)
 devtools     * 2.0.1   2018-10-26 [1] CRAN (R 3.5.3)
 digest         0.6.18  2018-10-10 [1] CRAN (R 3.5.3)
 fs             1.2.7   2019-03-19 [1] CRAN (R 3.5.3)
 glue           1.3.1   2019-03-12 [1] CRAN (R 3.5.3)
 magrittr       1.5     2014-11-22 [1] CRAN (R 3.5.3)
 memoise        1.1.0   2017-04-21 [1] CRAN (R 3.5.3)
 mzR          * 2.16.2  2019-03-05 [1] Bioconductor  
 ncdf4          1.16.1  2019-03-11 [1] CRAN (R 3.5.3)
 pkgbuild       1.0.3   2019-03-20 [1] CRAN (R 3.5.3)
 pkgload        1.0.2   2018-10-29 [1] CRAN (R 3.5.3)
 prettyunits    1.0.2   2015-07-13 [1] CRAN (R 3.5.3)
 processx       3.3.0   2019-03-10 [1] CRAN (R 3.5.3)
 ProtGenerics   1.14.0  2018-10-30 [1] Bioconductor  
 ps             1.3.0   2018-12-21 [1] CRAN (R 3.5.3)
 R6             2.4.0   2019-02-14 [1] CRAN (R 3.5.3)
 Rcpp         * 1.0.1   2019-03-17 [1] CRAN (R 3.5.3)
 remotes        2.0.2   2018-10-30 [1] CRAN (R 3.5.3)
 rlang          0.3.3   2019-03-29 [1] CRAN (R 3.5.3)
 rprojroot      1.3-2   2018-01-03 [1] CRAN (R 3.5.3)
 rstudioapi     0.10    2019-03-19 [1] CRAN (R 3.5.3)
 sessioninfo    1.1.1   2018-11-05 [1] CRAN (R 3.5.3)
 usethis      * 1.4.0   2018-08-14 [1] CRAN (R 3.5.3)
 withr          2.1.2   2018-03-15 [1] CRAN (R 3.5.3)
 yaml           2.2.0   2018-07-25 [1] CRAN (R 3.5.2)

[1] C:/Users/tuhu/Documents/R/win-library/3.5
[2] C:/Program Files/R/R-3.5.3/library
software error • 51 views
ADD COMMENTlink modified 11 days ago by shepherl ♦♦ 1.3k • written 15 days ago by czw8140
Answer: Unable to load mzR due to built on Rcpp version (1.0.0)
0
gravatar for shepherl
11 days ago by
shepherl ♦♦ 1.3k
United States
shepherl ♦♦ 1.3k wrote:

Could you first try loading from the Bioconductor repository rather than github

BiocManager::install("xcms")

ADD COMMENTlink written 11 days ago by shepherl ♦♦ 1.3k

Hopefully this suggestion will work. The warning about different Rcpp versions if is pretty common when installing mzR, but I think it's being elevated to an error by the remotes package, as that's its default behaviour. More details on this and how to change the behaviour can be found at https://remotes.r-lib.org/#environment-variables

ADD REPLYlink written 11 days ago by Mike Smith3.3k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 255 users visited in the last hour