Skip to content

Commit

Permalink
Updates Bioconductor package installation to new scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
hlapp committed Apr 29, 2019
1 parent 66fff6c commit c2af9cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Rpopgen/Dockerfile
Expand Up @@ -28,7 +28,10 @@ RUN install2.r --error \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds

## Bioconductor dependencies of packages we install from CRAN (specifically pegas)
RUN Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite("Biostrings");'
RUN install2.r --error BiocManager \
&& Rscript -e 'requireNamespace("BiocManager"); BiocManager::install();' \
&& Rscript -e 'requireNamespace("BiocManager"); BiocManager::install(c("Biostrings", "qvalue"));' \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds

## Install population genetics packages from CRAN
RUN rm -rf /tmp/*.rds \
Expand All @@ -53,9 +56,6 @@ RUN rm -rf /tmp/*.rds \
pcadapt \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds

## Bioconductor packages (they may be dependencies)
RUN Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite("qvalue");'

## Install population genetics packages from Github
## (hierfstat included here temporarily until new release is on CRAN)
RUN installGithub.r \
Expand Down

0 comments on commit c2af9cf

Please sign in to comment.