diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f0c53800f1da0fb2da899c297fb7ce1e3e27930d..90923dfef24f43060c647d1304aa85e4759aa956 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ R_check_install:
     - R --version
     - Rscript -e 'getwd(); .libPaths(); sessionInfo()'
     - Rscript -e 'library(devtools); load_all(); check()'
-    - Rscript -e 'library(devtools); install(local = FALSE)'
+    - Rscript -e 'library(devtools); .libPaths(new = path.expand("~/Documents")); install(local = FALSE)'
   tags:
     - r
     - devtools