[R-pkg-devel] Vignette with error=TRUE chunks fails CRAN checks on r-oldrel-macos

Roland Fuß ro|@nd@|u@@ @end|ng |rom thuenen@de
Fri Jun 14 07:58:09 CEST 2024


Hi,

We are seeing this with our ALFAM2 package: 
https://cran.r-project.org/web/checks/check_results_ALFAM2.html

We have many code chunks with knitr option `error=TRUE`. My 
understanding is that CRAN machines should have set 
`_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_=true` and not check the tangled code 
but I see:

"When sourcing ‘ALFAM2-start.R’:

Error: Missing value(s) in predictor variable(s)

    See above for variables.

    Check these rows: 3

Execution halted"

Before I dive deeper into this and we maybe switch to `eval=FALSE`, is 
my understanding wrong? Or is the setup on the oldrel-macos machines 
different?


Thanks in advance,

Roland

-- 
Dr. Roland Fuß

Thünen-Institut für Agrarklimaschutz/
Thünen Institute of Climate-Smart Agriculture

Bundesallee 65
D-38116 Braunschweig, Germany

Tel.: ++49 531 596 2627
Fax:  ++49 531 596 2699
Email: roland.fuss using thuenen.de

Arbeitsgruppe "Emissionsberichterstattung"/
Working group "Emission Inventories"
Email: emissionsinventare using thuenen.de

Das Johann Heinrich von Thünen-Institut,
Bundesforschungsinstitut für Ländliche Räume,
Wald und Fischerei – kurz: Thünen-Institut –
besteht aus 15 Fachinstituten, die in den
Bereichen Ökonomie, Ökologie und Technologie
forschen und die Politik beraten.

The Johann Heinrich von Thünen Institute,
Federal Research Institute for Rural Areas,
Forestry and Fisheries – Thünen Institute in brief –
consists of 15 specialized institutes that
carry out research and provide policy advice
in the fields of economy, ecology and technology.



More information about the R-package-devel mailing list