diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5019ac1352059b7b2b59b477057deee4cc35084f..c68113ae34b581318d04a12b9f9196d997e8b9fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ default:
     - echo "setwd(\"$(pwd)\")" > .Rprofile
     - echo ".libPaths <- c(Sys.getenv(\"R_LIBS_USER\"), .libPaths())" >> .Rprofile
     - PATH=~/R/sources/R-${R_VERSION}/bin:$PATH
-    - R -e 'remotes::install_deps(dep = T)'
+    - R -e 'remotes::install_deps(dep = TRUE)'
 
 .regression:
   stage: regression
@@ -21,7 +21,7 @@ default:
 .check:
   stage: check
   script:
-  - R -e ' rcmdcheck::rcmdcheck(args = ifelse(as.logical(Sys.getenv("NOT_CRAN")), "", "--as-cran"), error_on = "warning")'
+  - R -e 'rcmdcheck::rcmdcheck(args = ifelse(as.logical(Sys.getenv("NOT_CRAN")), "", "--as-cran"), error_on = "warning")'
 
 .check_not_cran:
   variables: