ci: checks with warning should fail

Refs #86
4 jobs for 86-gitlab-ci-correctly-handle-warning-and-note-in-checks in 1 minute and 32 seconds (queued for 2 minutes and 15 seconds)
Status Name Job ID Coverage
  Build
passed build_patched #163647

00:00:27

 
  Regression
passed regression_patched #163648

00:01:00

 
  Tests
failed check_as_cran_patched #163650

00:00:02

failed check_not_cran_patched #163649

00:00:02

 
Name Stage Failure
failed
check_as_cran_patched Tests
Tapez 'q()' pour quitter R.

> devtools::check(check_dir = Sys.getenv("CHECK_DIR"), cran = !as.logical(Sys.getenv("AS_CRAN")))
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
aucun package nommé ‘usethis’ n'est trouvé
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Exécution arrêtée
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
check_not_cran_patched Tests
Tapez 'q()' pour quitter R.

> devtools::check(check_dir = Sys.getenv("CHECK_DIR"), cran = !as.logical(Sys.getenv("AS_CRAN")))
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
aucun package nommé ‘usethis’ n'est trouvé
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Exécution arrêtée
Cleaning up file based variables
ERROR: Job failed: exit status 1