Error while installing RforMassSpectrometry
2
0
Entering edit mode
fred • 0
@fred-22500
Last seen 4.4 years ago

Hi, While trying to install RforMassSpectrometry I get the following error (BiocManager was installed as described here: https://rformassspectrometry.github.io/RforMassSpectrometry/articles/RforMassSpectrometry.html#installation).

Any help? Thx!

BiocManager::install("RforMassSpectrometry/RforMassSpectrometry") ........

Skipping 1 packages not available: MsCoreUtils
Installing 11 packages: S4Vectors, BiocParallel, ProtGenerics, IRanges, MsCoreUtils, futile.logger, snow, BH, lambda.r, futile.options, formatR
Installing packages into ‘D:/Users/beenfr/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Error: Failed to install 'RforMassSpectrometry' from GitHub:
  Failed to install 'MsExperiment' from GitHub:
  Failed to install 'Spectra' from GitHub:
  (converted from warning) package ‘MsCoreUtils’ is not available (for R version 3.6.1)
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
3: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
4: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
5: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
6: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
software error • 972 views
ADD COMMENT
0
Entering edit mode
shepherl 3.8k
@lshep
Last seen 15 hours ago
United States

BiocManager will only install package dependencies that are available on CRAN or Bioconductor. Other packages that are on github need to be installed explicitly

# depending on the ordering of dependencies the order may need to change
BiocManager::install("rformassspectrometry/MsCoreUtils", "rformassspectrometry/MsExperiment", "RforMassSpectrometry/Spectra", "RforMassSpectrometry/Features")
BiocManager::install("RforMassSpectrometry/RforMassSpectrometry")

The help installation page should be updated for non official CRAN/Bioconductor packages. https://rformassspectrometry.github.io/RforMassSpectrometry/articles/RforMassSpectrometry.html#installation

ADD COMMENT
0
Entering edit mode

I have notified the maintainers of the installation page that they may want to update https://github.com/rformassspectrometry/RforMassSpectrometry/issues/5

ADD REPLY
0
Entering edit mode
@laurent-gatto-5645
Last seen 23 hours ago
Belgium

Thank you for reporting the issue. This should be fixed now (at least, according to local tests using R patched and devel). Could you please try again and confirm. Otherwise, please follow up here or, if possible, on the GitHub issue to reduce noise.

ADD COMMENT
0
Entering edit mode

Thank you both! I just tried running the general

BiocManager::install("RforMassSpectrometry/RforMassSpectrometry")

and it seems to be working fine.

Only at the very end I got this warning message:

Warning message: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying D:\Users\beenfr\Documents\R\win-library\3.6\00LOCK\curl\libs\x64\curl.dll to D:\Users\beenfr\Documents\R\win-library\3.6\curl\libs\x64\curl.dll: Permission denied

But I can load the RforMassSpectrometry library without any issues.

ADD REPLY

Login before adding your answer.

Traffic: 942 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