Entering edit mode
p.janitza
▴
50
@pjanitza-14220
Last seen 7.2 years ago
Hello,
when I try to install standrad bioconductor packages with
source("https://bioconductor.org/biocLite.R") biocLite()
then I get following error messages:
* installing *source* package ‘BiocGenerics’ ...
** R
** inst
** preparing package for lazy loading
Creating a new generic function for ‘append’ in package ‘BiocGenerics’
Creating a new generic function for ‘as.data.frame’ in package ‘BiocGenerics’
Creating a new generic function for ‘cbind’ in package ‘BiocGenerics’
Error : identical(as.call(parse(text = old_code)[[1L]]), body[[7L]][[3L]]) is not TRUE
Error : unable to load R code in package ‘BiocGenerics’
ERROR: lazy loading failed for package ‘BiocGenerics’
* removing ‘/home/philipp/R/x86_64-pc-linux-gnu-library/3.4/BiocGenerics’
ERROR: dependency ‘BiocGenerics’ is not available for package ‘S4Vectors’
* removing ‘/home/philipp/R/x86_64-pc-linux-gnu-library/3.4/S4Vectors’
ERROR: dependency ‘BiocGenerics’ is not available for package ‘Biobase’
* removing ‘/home/philipp/R/x86_64-pc-linux-gnu-library/3.4/Biobase’
ERROR: dependencies ‘BiocGenerics’, ‘S4Vectors’ are not available for package ‘IRanges’
* removing ‘/home/philipp/R/x86_64-pc-linux-gnu-library/3.4/IRanges’
ERROR: dependencies ‘BiocGenerics’, ‘Biobase’, ‘IRanges’, ‘S4Vectors’ are not available for package ‘AnnotationDbi’
* removing ‘/home/philipp/R/x86_64-pc-linux-gnu-library/3.4/AnnotationDbi’
The downloaded source packages are in
‘/tmp/RtmppId7uG/downloaded_packages’
Warnmeldungen:
1: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘BiocGenerics’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘S4Vectors’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘Biobase’ had non-zero exit status
4: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘IRanges’ had non-zero exit status
5: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘AnnotationDbi’ had non-zero exit status
I couldn't find a solution during my search through the internet. I'm using freshly installed Ubuntu 17.10 and R 3.4.2 (2017-09-28) -- "Short Summer".
Thanks in advance!
I get the same error messages with $ R --vanilla!
Well, the problematic code is in relation to A: BiocGenerics built with R 3.4.2 changes behaviour , a regression (bug) in the released version of R and an attempt to patch it in BiocGenerics. Something about your particular set-up (not the version of ubuntu) is causing problems. I'm running short of ideas.
It might be helpful to know how you installed R. It could be the locale ('de_DE.UTF-8'), so you could try
where 'en_US.UTF-8' or simply "C" is the English-language or plain C encoding returned by locale -a.
Another option is to install the patched version of R-3-4-2, from source (R-patched) downloaded from https://stat.ethz.ch/R/daily/ following https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Simple-compilation (this may require installation of system libraries; if you installed R using apt-get, satisfy these by installing r-base-dev instead of r-base).
We will continue to work on this on our end.
Try the more modest
and report the output of that command and the command
Thank you for your answer - here is the output:
I can't reproduce this error. Can you repeat by starting R in the command line and with the '--vanilla' flag?
?
Hi,
I can't reproduce this either. Glad that installing R 3.4.2 Patched solved the problem. If you still have your R 3.4.2 installation around, could you start it and show us the output of
methods:::.standardGenericDots
?FWIW I just made a small change to the hotfix code to improve the error message in case of failure. With this change the error message will report the name of the generic function for which the hotfix failed. The change is in the devel version of BiocGenerics only (version 0.23.4). The release version (0.22.1) was frozen a few days ago.
H.