diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 12977a64..3ced6075 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,6 +37,7 @@ This ensures that different users have the same versions of packages installed. See also [collaborating with renv](https://rstudio.github.io/renv/articles/collaborating.html). The first time you open the RStudio project `renv` should automatically download and install the appropriate version of `renv` into the project library. After this has completed, you can use `renv::restore()` to restore the R packages in the local project library on your machine. +If this fails, try `renv::restore(transactional = FALSE)`. In case you need another package than the ones installed (see the [DESCRIPTION file](DESCRIPTION)) for this project, ask one of the admins to do this for you. It is not allowed to do this in a [protocol-specific branch](#branching). diff --git a/Dockerfile b/Dockerfile index 74c48b39..2d92a5f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,8 @@ RUN R -e "install.packages('renv', repos = c(CRAN = 'https://cloud.r-project.org RUN R -e "renv::consent(provided = TRUE)" COPY renv.lock renv.lock RUN R -e "renv::restore()" -RUN R -e "renv::install(c('reactable', 'zen4R', 'keyring', 'slickR'))" +RUN R -e "renv::install(c('reactable', 'zen4R', 'keyring'))" +RUN R -e "renv::install('yonicd/slickR@1a469961b203f9260a49b24e3ec78aef3ef54798')" RUN R -e "renv::isolate()"