From d66e12bd884ee37d46952d65fe808a6a2a43b6c7 Mon Sep 17 00:00:00 2001 From: Benjamin Schwendinger <52290390+ben-schwen@users.noreply.github.com> Date: Wed, 21 Aug 2024 12:21:31 +0200 Subject: [PATCH] remove check for unavailabe dependencies on ancient R (#6362) * add fixed version for old r version * add versions * add cran repo * remove knitr from check * add note about knitr Co-authored-by: Michael Chirico * remove xts and add comment * remove xts * refine comment --------- Co-authored-by: Michael Chirico --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83def117b..20f2db3f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -205,11 +205,15 @@ test-lin-dev-clang-cran: # stated dependency on R test-lin-ancient-cran: - image: registry.gitlab.com/jangorecki/dockerfiles/r-3.3.0 <<: *test-lin + image: registry.gitlab.com/jangorecki/dockerfiles/r-3.3.0 + variables: + _R_CHECK_FORCE_SUGGESTS_: "FALSE" # can be removed if all dependencies are available (knitr, xts, etc.) script: - *install-deps - - R CMD check --no-manual $(ls -1t data.table_*.tar.gz | head -n 1) + # knitr requires evaluate, which requires R 3.6.0. + # Restore checking vignettes if upgrading our R dependency means knitr can be installed. + - R CMD check --no-manual --no-build-vignettes --ignore-vignettes $(ls -1t data.table_*.tar.gz | head -n 1) .test-win-template: &test-win <<: *test