diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0b9976f1167e967628b0f534e121dc6640fc23a6..8c893f60ac691ecf466c9004213e068a6db85ec1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,9 +22,9 @@ buildpkg:
 checkpkg:
   stage: test
   script:
-    - R -e 'devtools::check(document = FALSE)'
+    - R -e 'devtools::check(document = FALSE, args = "--no-tests", error_on = c("error"))'
 
 installpkg:
   stage: deploy
   script:
-    - R -e 'devtools::install()'
+    - R -e 'devtools::install(build_vignettes=TRUE,dependencies = TRUE)'