Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install MSnbase #271

Closed
cdlawless opened this issue Nov 3, 2017 · 3 comments
Closed

Unable to install MSnbase #271

cdlawless opened this issue Nov 3, 2017 · 3 comments

Comments

@cdlawless
Copy link

cdlawless commented Nov 3, 2017

Running through Rstudio on Ubuntu 16.04 with R v3.4.2

> biocLite("MSnbase")
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.6 (BiocInstaller 1.28.0), R 3.4.2 (2017-09-28).
Installing package(s) ‘MSnbase’
trying URL 'https://bioconductor.org/packages/3.6/bioc/src/contrib/MSnbase_2.4.0.tar.gz'
Content type 'application/x-gzip' length 4668336 bytes (4.5 MB)
==================================================
downloaded 4.5 MB

* installing *source* package ‘MSnbase’ ...
** libs
g++  -I/usr/share/R/include -DNDEBUG  -I"/home/mjfidcl2/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RcppExports.cpp -o RcppExports.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG  -I"/home/mjfidcl2/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Spectrum1_class.c -o Spectrum1_class.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG  -I"/home/mjfidcl2/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Spectrum2_class.c -o Spectrum2_class.o
g++  -I/usr/share/R/include -DNDEBUG  -I"/home/mjfidcl2/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c imp_neighbour_avg.cpp -o imp_neighbour_avg.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG  -I"/home/mjfidcl2/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c utils.c -o utils.o
g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o MSnbase.so RcppExports.o Spectrum1_class.o Spectrum2_class.o imp_neighbour_avg.o utils.o -L/usr/lib/R/lib -lR
installing to /home/mjfidcl2/R/x86_64-pc-linux-gnu-library/3.4/MSnbase/libs
** R
** data
*** moving datasets to lazyload DB
Warning: namespace ‘MSnbase’ is not available and has been replaced
by .GlobalEnv when processing object ‘itraqdata’
Warning: namespace ‘MSnbase’ is not available and has been replaced
by .GlobalEnv when processing object ‘itraqdata’
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘scales’
ERROR: lazy loading failed for package ‘MSnbase’
* removing ‘/home/mjfidcl2/R/x86_64-pc-linux-gnu-library/3.4/MSnbase’

The downloaded source packages are in
	‘/tmp/RtmplvZUtR/downloaded_packages’
installation path not writeable, unable to update packages: codetools, lattice, mgcv, spatial
Warning message:
In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘MSnbase’ had non-zero exit status

Any help appreciated.

Craig

@lgatto
Copy link
Owner

lgatto commented Nov 3, 2017

Could you first install scales and try again. If that fixes it, could you let me know here and I will add it as a explicit dependency to avoid this error in the future. Thanks.

@cdlawless
Copy link
Author

Hi Laurent,
Had to install scales, lazyeval and tibble to get it working.
Thank you.

@lgatto
Copy link
Owner

lgatto commented Nov 3, 2017

This is a bit weird... I'm wondering of some dependencies haven't declared their properly. I'll try to find out. Thank you.

@lgatto lgatto closed this as completed Nov 3, 2017
YasinEl added a commit to YasinEl/mzRAPP that referenced this issue May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants