forked from jupyter/docker-stacks
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e827876
commit 41ba3d5
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,11 @@ RUN conda install --quiet --yes -c conda-forge \ | |
r-kknn=1.3.* \ | ||
r-rpostgres=1.3.* | ||
|
||
# Install testthat version 2.3 | ||
RUN Rscript -e "devtools::install_version('testthat', version = '2.3.2', repos = 'http://cran.us.r-project.org')" | ||
# we can't use testthat 2.3 because of weird "no testthat_print" function error https://github.com/r-lib/rlang/issues/1112 | ||
# we can't use testthat 3.0.4 (current release) because it doesn't include the fix to make interactive tests error https://github.com/r-lib/testthat/pull/1443 | ||
# so we will install testthat from a specific commit hash | ||
# old code to do 2.3.2 : RUN Rscript -e "devtools::install_version('testthat', version = '2.3.2', repos = 'http://cran.us.r-project.org')" | ||
RUN Rscript -e "remotes::install_github("r-lib/testthat@4fcc0c7152704c5c2049441920d78d9dfe448836") | ||
# Install the palmerpenguins dataset | ||
RUN Rscript -e "devtools::install_github('allisonhorst/[email protected]')" | ||
|