Closed barracuda156 closed 2 weeks ago
If you look at the vignette source of ipums-api-nhgis.Rmd
, you'll see that the code throwing an error is an example of an invalid extract specification, so the error is expected. The code is in a chunk with option error = TRUE
, which signals that knitr should continue building even in the case of an error. Is there a way to modify your checking routine to recognize knitr chunk options?
If you look at the vignette source of
ipums-api-nhgis.Rmd
, you'll see that the code throwing an error is an example of an invalid extract specification, so the error is expected. The code is in a chunk with optionerror = TRUE
, which signals that knitr should continue building even in the case of an error. Is there a way to modify your checking routine to recognize knitr chunk options?
Ah, okay, so this is a known issue. Apparently there is a fix: https://github.com/tidyverse/tibble/issues/1575#issuecomment-2179346437
Oh, interesting, I will try the purl
option out locally and see if it fixes the issue. Thanks!