Skip to content

Commit

Permalink
Merge eb60f55 into 4b62478
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy authored Feb 10, 2022
2 parents 4b62478 + eb60f55 commit f171f39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN apt-get -y --no-install-recommends install \
python3-pip python3-dev

# Commonly used R packages
RUN Rscript -e "install.packages( \
RUN Rscript -e "options(warn = 2);install.packages( \
c('bookdown', \
'here', \
'leanpubr', \
Expand All @@ -56,7 +56,8 @@ RUN Rscript -e "install.packages( \
'servr', \
'spelling', \
'styler', \
'reticulate'))"
'reticulate'), \
repos = 'https://cloud.r-project.org/')"

# cow needs this dependency:
RUN Rscript -e "devtools::install_version('gitcreds', version = '0.1.1', repos = 'http://cran.us.r-project.org')"
Expand Down
5 changes: 3 additions & 2 deletions resources/TEMPLATE_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ LABEL maintainer="your_email.com"
# package_name

# Install a package from CRAN
# RUN Rscript -e "install.packages( \
# c('package_name'))"
# RUN Rscript -e "options(warn = 2);install.packages( \
# c('package_name'), \
# repos = 'https://cloud.r-project.org/')"

# Install a package from Bioconductor
# RUN Rscript -e "options(warn = 2); BiocManager::install( \
Expand Down

0 comments on commit f171f39

Please sign in to comment.