ci: install RKorAPClient from gerrit for not-yet-CRAN features (cacheAs)

Change-Id: Ib15ff6a4d3967ad9f3075687aea5cfa2447936d7
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 83bac2d..1545827 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,6 +71,13 @@
     - R -e "install.packages(c('devtools', 'remotes', 'RKorAPClient', 'httr',
       'tidytext', 'httpuv', 'scales', 'sp', 'raster', 'kableExtra', 'DT',
       'svglite', 'qrcode', 'rsvg', 'highcharter'))"
+    # the CRAN RKorAPClient above pulls in its (compiled) dependencies as
+    # binaries; now replace the package itself with the git version, which
+    # has features not yet on CRAN (e.g. the cacheAs parameter of
+    # collocationAnalysis())
+    - R -e
+      'remotes::install_git("https://korap.ids-mannheim.de/gerrit/KorAP/RKorAPClient",
+      upgrade = "never")'
     - R -e
       'remotes::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/idsThemeR")'
     - R -e 'devtools::install(".")'