Bioconductor packages (Rqc, VariantAnnotation, biovizBase, ensembledb) are not installing correctly

I'm trying to install the bioconductor package "Rqc" in a project within my workspace (https://rstudio.cloud/project/348360). It depends on VariantAnnotation, biovizBase, and ensembledb. I use the command "BiocManager::install("Rqc")" to try to do this. (I've also tried to install both the package and the prereqs with devtools with no luck). Can you please help?

BiocManager::install downloads the package and prerequisites normally, tries to compile them, and starts throwing errors here:

installing to /home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-VariantAnnotation/00new/VariantAnnotation/libs
** R
** inst
** byte-compile and prepare package for lazy loading
Killed
ERROR: lazy loading failed for package ā€˜VariantAnnotation’
* removing ā€˜/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/VariantAnnotation’
* installing *source* package ā€˜ensembldb’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Killed
ERROR: lazy loading failed for package ā€˜ensembldb’
* removing ā€˜/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/ensembldb’
ERROR: dependencies ā€˜VariantAnnotation’, ā€˜ensembldb’ are not available for package ā€˜biovizBase’
* removing ā€˜/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/biovizBase’
ERROR: dependency ā€˜VariantAnnotation’ is not available for package ā€˜GenomicFiles’
* removing ā€˜/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/GenomicFiles’
ERROR: dependencies ā€˜biovizBase’, ā€˜GenomicFiles’ are not available for package ā€˜Rqc’
* removing ā€˜/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rqc’

The downloaded source packages are in
	ā€˜/tmp/RtmpMtQLHG/downloaded_packages’
installation path not writeable, unable to update packages: cluster,
  nlme
Update old packages: 'AnnotationDbi', 'Biobase', 'BiocGenerics',
  'BiocParallel', 'BiocStyle', 'biomaRt', 'Biostrings', 'bookdown',
  'BSgenome', 'DelayedArray', 'GenomeInfoDb', 'GenomeInfoDbData',
  'GenomicAlignments', 'GenomicFeatures', 'GenomicRanges', 'IRanges',
  'pillar', 'ProtGenerics', 'rtracklayer', 'S4Vectors', 'ShortRead',
  'SummarizedExperiment', 'XVector', 'zlibbioc'
Update all/some/none? [a/s/n]: 
n
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
  installation of package ā€˜VariantAnnotation’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
  installation of package ā€˜ensembldb’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
  installation of package ā€˜biovizBase’ had non-zero exit status
4: In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
  installation of package ā€˜GenomicFiles’ had non-zero exit status
5: In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
  installation of package ā€˜Rqc’ had non-zero exit status

This indicates the compilation exceeded the memory limit of 1 GB. For CRAN packages we are able to cache pre-compiled versions. Unfortunately we do not support this for any other repositories today, but will look to expand both the memory available and what we cache in the future.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.