Commit 7e5f1bea authored by Dorchies David's avatar Dorchies David
Browse files

ci: use tinytex instead of rocker/verse

- also use qpdf R package instead of apt-get installation

Refs #53
parent 3d11bf79
Pipeline #24882 failed with stage
in 7 minutes and 33 seconds
......@@ -5,7 +5,7 @@ stages:
default:
tags: [docker]
image: rocker/verse:latest
image: rocker/tidyverse:latest
cache:
paths:
......@@ -23,13 +23,13 @@ cache:
before_script:
- mkdir -p $R_LIBS_USER $BUILD_LOGS_DIR
- echo "R_LIBS='$R_LIBS_USER'" > .Renviron
- R -e 'install.packages("rcmdcheck")'
- R -e 'if (!require("pacman")) install.packages("pacman")'
- R -e 'pacman::p_load("rcmdcheck", "tinytex", "qpdf")'
- R -e 'devtools::install_deps(dep = T)'
.check:
stage: checks
script:
- if [[ $NOT_CRAN == "false" ]]; then sudo apt-get update && sudo apt-get install -y --no-install-recommends texlive-fonts-recommended qpdf; fi
- R -e 'rcmdcheck::rcmdcheck(args = ifelse(as.logical(Sys.getenv("NOT_CRAN")), "--no-manual", "--as-cran"), error_on = "warning")'
check_not_cran:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment