Install TMB from sources.

This commit is contained in:
Andrea Dell'Amico 2022-04-27 17:52:38 +02:00
parent b6813d54c3
commit c7957f09b0
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,12 @@ RUN for l in `cat /tmp/r_non_cran_pkgs.txt` ; do \
Rscript --slave --no-site-file --no-init-file --no-save --no-restore-history \
-e "install.packages(pkgs='$pkg', repos=c('$mirror/'));" ; done
# Install TMB from sources
RUN pkg='TMB' ; \
mirror=`https://cloud.r-project.org/` ; \
Rscript --slave --no-site-file --no-init-file --no-save --no-restore-history \
-e "install.packages(pkgs='$pkg', repos=c('$mirror/'));"
# From github
ADD https://code-repo.d4science.org/gCubeSystem/r-packages-list/raw/branch/master/r_github_pkgs.txt /tmp
RUN mkdir -p /etc/R