Skip to content
Prev 8141 / 12125 Next

[R-pkg-devel] Vignettes & _R_CHECK_DEPENDS_ONLY_=true

On 09/06/2022 12:23 p.m., Henrik Bengtsson wrote:
In knitr, you can use the chunk option `eval = requireNamespace("plm", 
quietly = TRUE)`.  I'd put a comment in the code chunk too, saying it 
won't be evaluated if plm is not available, but this is not a 
requirement, just being nice to the reader.

Duncan Murdoch