Closed haniap closed 7 years ago
Dear Hania,
thank you for your interest in powsimR.
Apparently the default setting in devtools' install_github is to install all packages listed in the dependencies. To block this unnecessary reinstallation, invoke powsimR's installation with the following command (see also the updated README):
devtools::install_github('bvieth/powsimR', build_vignettes = TRUE, dependencies=FALSE)
I hope this helps!
Best, Beate
Perfect - thanks Beate!
Hello again,
I am just trying to install powsimR onto my work computer and although I already have BASiCS installed, the installation of powsimR overrides it and re-installs it again. Is there a way around this as it is creating a conflict with the various requirements of R versions? I attach the error below. With many thanks, Hania
The downloaded source packages are in ‘/tmp/RtmpakBR97/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done '/ifs/devel/haniap/py35-v1/conda/envs/py35-v1/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore \ --quiet CMD INSTALL '/tmp/RtmpakBR97/devtools12d227c3df23/catavallejos-BASiCS-94c4666' \ --library='/ifs/devel/haniap/py35-v1/conda/envs/py35-v1/lib/R/library' --install-tests
ERROR: this R is version 3.3.1, package 'BASiCS' requires R >= 3.4 Error: Command failed (1) In addition: Warning message: In utils::install.packages(pkgs, repos = repos, type = type, dependencies = dependencies, : installation of package ‘XML’ had non-zero exit status