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

2024-06-14 Thread Ivan Krylov via R-package-devel
В Fri, 14 Jun 2024 07:58:09 +0200 Roland Fuß пишет: > We have many code chunks with knitr option `error=TRUE`. A recent change required knitr to actually tangle the code for vignettes when requested by R CMD check, with the intent to make sure that the resulting *.R file runs without errors. Unf

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

2024-06-14 Thread Ben Bolker
I feel like I've seen this go by on a forum or issues list somewhere recently, but can't find it again. Whatever CRAN is doing, I think that adding purl=FALSE along with error=TRUE might help. On 2024-06-14 1:58 a.m., Roland Fuß wrote: Hi, We are seeing this with our ALFAM2 package: ht

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

2024-06-14 Thread Roland Fuß
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