skip error when directory already exists (#2379)

This commit is contained in:
William Cheng 2019-03-13 15:26:48 +08:00 committed by GitHub
parent 7ba973ca7c
commit a2d6073110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ export R_LIBS_USER=$HOME/R
echo "R lib directory: $R_LIBS_USER"
mkdir $R_LIBS_USER
mkdir $R_LIBS_USER || true
Rscript -e "install.packages('jsonlite', repos='$REPO', lib='$R_LIBS_USER')"
Rscript -e "install.packages('httr', repos='$REPO', lib='$R_LIBS_USER')"