frictionless-r
frictionless-r copied to clipboard
Fix CRAN ERROR for (intended) error in vignette
This vignette has a chunk to show that check_package() will return an (informative) error. The code chuck has the option error = TRUE allowing the vignette to ignore it and continue building.
But it seems to raise an ERROR on CRAN (which has check arguments '--no-clean-on-error '). I'm asking rOpenSci what is the best way to fix this.
Oh, I didn't know about that! No idea on how to get around this, I'm interested to see what the best way to do this is
Got an answer:
I think this is https://github.com/yihui/knitr/issues/2338. In short, try setting purl = FALSE in chunks with error = TRUE
Indeed, it is only the r-oldrel-macos checks that are failing on CRAN:
I added purl = FALSE, but we will only see the result if we release a patch to CRAN. For now, I'll wait.
Late answer: dc2dc03 resolved this issue on CRAN. The data-package.Rmd is published to CRAN and CRAN reports no errors.