Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelog.d/rpkg-ci-pandoc.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- `condor-batch/image/rpkg-ci.def`: sets `RSTUDIO_PANDOC` to Quarto's bundled pandoc, so `R CMD build` can build R Markdown vignettes inside the image.
A cold `R CMD check` of rampp on a cluster node failed with "Pandoc is required to build R Markdown vignettes" until the variable was set by hand (gha#1640).
4 changes: 3 additions & 1 deletion condor-batch/image/rpkg-ci.def
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Bootstrap: localimage
From: lds-ci.sif

# R-package CI image for condor-batch (gha#1640): R CMD check, covr and pkgdown
# on a cluster execute node. Built from lds-ci.sif so it shares R 4.5, Quarto and
# on a cluster execute node. Built from lds-ci.sif so it shares R, Quarto and
# TinyTeX. It adds the tools the r-lib workflows install and the system libraries
# the commonest package dependencies compile against.
#
Expand All @@ -20,6 +20,8 @@ From: lds-ci.sif
export R_LIBS_USER=${PWD}/.rlib
export R_REPOS_PPM="https://packagemanager.posit.co/cran/__linux__/noble/latest"
export _R_CHECK_FORCE_SUGGESTS_=false
# Quarto bundles pandoc off PATH; R CMD build needs it to build R Markdown vignettes.
export RSTUDIO_PANDOC=/opt/quarto/bin/tools/x86_64

%post
set -eux
Expand Down
Loading