diff --git a/Dockerfile b/Dockerfile index c214842..40675c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,13 @@ FROM --platform=linux/amd64 rocker/tidyverse -RUN Rscript -e 'install.packages("pak")' +RUN Rscript -e '\ + install.packages("pak", repos = sprintf( \ + "https://r-lib.github.io/p/pak/stable/%s/%s/%s", \ + .Platform$pkgType, \ + R.Version()$os, \ + R.Version()$arch \ + )) \ + ' COPY .env /.env COPY DESCRIPTION /DESCRIPTION