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.

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