I'm using a slightly modified version of r-libs check-standard.yaml to check a package. The modification is to check on R 3.5 in additional to the other OS/R combinations.
I would like to skip checking cross refs in Rd files only on R 3.5 (or an earlier version of R) as one of the packages the we now link to isn't available on such an old OS but our package should install and work fine on this older version of R. (Note we don't have the packages we crossref in Suggests
as there seems little point in adding a soft dependency for a cross ref.
Our workflow is here if you're interested/it matters.
Can I add an environmental variable to a single OS/R version so it doesn't affect checks on the other OS/R combinations?
The matrix
we're using is:
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
- {os: ubuntu-latest, r: '3.6'}
- {os: ubuntu-latest, r: '3.5'}
I note that http-user-agent
is set for one of the runners; is it possible to add an env
node here and set a specific env var here too?
The env var I wish to set is _R_CHECK_RD_XREFS_: FALSE