ci: Install all R packages dependencies

Change-Id: I6b8a84c6751a8ea0027dafaf5510b4f677a98a57
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ba74f3..8ee6557 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,10 +44,10 @@
     - end_section install_fonts
 
     - start_section install_r_packages "Installing missing R packages"
-    - R -e "install.packages(c('devtools', 'scales', 'sp', 'raster', 'kableExtra', 'DT', 'svglite', 'qrcode'))"
-    - R -e 'devtools::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/idsThemeR")'
-    - R -e 'devtools::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/posterdown")'
     - echo "options(Ncpus=$(nproc))" > ~/.Rprofile
+    - R -e "install.packages(c('devtools', 'scales', 'sp', 'raster', 'kableExtra', 'DT', 'svglite', 'qrcode'), dependencies=TRUE)"
+    - R -e 'devtools::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/idsThemeR", dependencies=TRUE)'
+    - R -e 'devtools::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/posterdown", dependencies=TRUE)'
     - end_section install_r_packages
 
   script: