diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f8817838eb4aa62d3c20d530dcae609a995ba55f..eee6acb0c10236cc5fc8053d18fe7107bdba34c3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ default:
     - cd ..
     - echo "setwd(\"$(pwd)\")" > .Rprofile
     - R -e 'utils::install.packages("usethis", repo = "https://cloud.r-project.org/")'
-    - R -e 'remotes::install_deps(dep = T)'
+    - R -e 'remotes::install_deps(pkgdir = "airGR", dep = T)'
     - R CMD build airgr
     - rename "s/airGR/${R_VERSION}.airGR/" airGR_*.tar.gz
     - mv *.tar.gz airgr/