diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-08 17:48:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-08 17:49:10 +0000 |
commit | 84c011ae6133fb007046d8eb66c01d0de80b3500 (patch) | |
tree | 60b2be37885c99f0bf69434223b01cc5a2b92203 /testing/get-r.sh | |
parent | Releasing debian version 2.10.1-1. (diff) | |
download | pre-commit-84c011ae6133fb007046d8eb66c01d0de80b3500.tar.xz pre-commit-84c011ae6133fb007046d8eb66c01d0de80b3500.zip |
Merging upstream version 2.11.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | testing/get-r.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/get-r.sh b/testing/get-r.sh new file mode 100755 index 0000000..5d09828 --- /dev/null +++ b/testing/get-r.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +sudo apt install r-base +# create empty folder for user library. +# necessary for non-root users who have +# never installed an R package before. +# Alternatively, we require the renv +# package to be installed already, then we can +# omit that. +Rscript -e 'dir.create(Sys.getenv("R_LIBS_USER"), recursive = TRUE)' |