Skip to content

Commit

Permalink
add empty library directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Feb 15, 2021
1 parent e71cc39 commit 322e98a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions testing/get-renv.sh
@@ -1,2 +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"))'

0 comments on commit 322e98a

Please sign in to comment.