mzR has been built against a different Rcpp version
1
0
Entering edit mode
@hollydouglas-24337
Last seen 4.2 years ago

Hello, I'm trying to install the IsotopicLabelling package in RStudio using:

library(devtools)
install_github("RuggeroFerrazza/IsotopicLabelling", build_vignettes = TRUE) 

The installation requires to loading of the mzR package. I get the following error message during the install:

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.4.6)
than is installed on your system (1.0.5). 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
Execution halted
ERROR: lazy loading failed for package 'IsotopicLabelling'

The output of sessionInfo() is:

R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C                            LC_TIME=English_United Kingdom.1252    

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

other attached packages:
[1] devtools_2.3.2 usethis_1.6.3 

loaded via a namespace (and not attached):
 [1] rstudioapi_0.11     magrittr_1.5        pkgload_1.1.0       R6_2.4.1            rlang_0.4.8         fansi_0.4.1         tools_4.0.2        
 [8] pkgbuild_1.1.0      sessioninfo_1.1.1   cli_2.0.2           withr_2.3.0         ellipsis_0.3.1      remotes_2.2.0       assertthat_0.2.1   
[15] digest_0.6.25       rprojroot_1.3-2     crayon_1.3.4        processx_3.4.4      BiocManager_1.30.10 callr_3.5.0         fs_1.5.0           
[22] ps_1.4.0            curl_4.3            testthat_2.3.2      memoise_1.1.0       glue_1.4.2          compiler_4.0.2      desc_1.2.0         
[29] backports_1.1.10    prettyunits_1.1.1  

Any help would be much appreciated. Thanks!

mzR IsotopicLabelling • 2.4k views
ADD COMMENT
0
Entering edit mode
@laurent-gatto-5645
Last seen 9 weeks ago
Belgium

The warning about the mzR/Rcpp versions can be ignored. Unfortunately, it is (if I'm not mistakenbeing) converted to an error by install_github(). I see two options

  1. First install mzR with BiocManager::install("mzR") and ignore the warning. Then proceed with the installation of RuggeroFerrazza/IsotopicLabelling.

  2. Set the environment variable Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true") before using install_github().

ADD COMMENT

Login before adding your answer.

Traffic: 929 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6