Add preliminary report generation

Change-Id: I9a0224649683b5f98a9738953d96214814d4b355
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1cb7a22..90f1772 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,12 +34,13 @@
     - end_section install_fonts
 
     - start_section install_r_packages "Installing missing R packages"
-    - R -e "install.packages(c('RKorAPClient', 'httr', 'tidytext', 'httpuv', 'scales', 'sp', 'raster', 'kableExtra', 'svglite'))"
+    - R -e "install.packages(c('RKorAPClient', 'httr', 'tidytext', 'httpuv', 'scales', 'sp', 'raster', 'kableExtra', 'DT', 'svglite'))"
     - R -e 'devtools::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/idsThemeR")'
     - end_section install_r_packages
 
   script:
     - start_section render "Running scripts"
-    - R -f ./R/icc_stats.R
+    - R_CACHE_ROOTPATH=./cache R -f ./R/icc_stats.R
+    - R_CACHE_ROOTPATH=./cache R -e "require(rmarkdown); render('R/report.Rmd', output_format='html_document', output_dir='target')"
     - end_section render