Skip to content

Commit

Permalink
Install preprocessCore manually to disable threading (#84)
Browse files Browse the repository at this point in the history
* Install preprocessCore manually to disable threading

* Fix copy-paste errors

* Use disable threading in BiocManager::install

* Add type="source" to not rely on env variable + force
  • Loading branch information
almahmoud authored Oct 17, 2023
1 parent 03ba771 commit 6e95441
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bioc_scripts/install_bioc_sysdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ Rscript -e 'install.packages("BiocManager", repos="https://cran.rstudio.com")'
Rscript -e "BiocManager::install(version='$BIOC_VERSION', update=TRUE, ask=FALSE)"
Rscript -e "BiocManager::install(c('devtools'))"

## Install preprocess core manually to disable threading https://github.com/Bioconductor/bioconductor_docker/issues/22
Rscript -e 'BiocManager::install("preprocessCore", configure.args = c(preprocessCore = "--disable-threading"), update=TRUE, force=TRUE, ask=FALSE, type="source")'

## clean up
apt-get clean
apt-get autoremove -y
Expand Down

0 comments on commit 6e95441

Please sign in to comment.