Closed aaronpeikert closed 4 years ago
Possible fix:
&& MRAN=https://mran.microsoft.com/snapshot/${BUILD_DATE} \
&& echo MRAN=$MRAN >> /etc/environment \
&& export MRAN=$MRAN \
&& echo "options(repos = c(CRAN='$MRAN'), download.file.method = 'libcurl')" >> /usr/local/lib/R/etc/Rprofile.site \
From: https://discuss.ropensci.org/t/creating-a-package-to-reproduce-an-academic-paper/1210/21
ARG BUILD_DATE=2019-11-11
is ignored