Skip to content
Prev 57043 / 63424 Next

making a vignette optional

On Tue, 18 Jun 2019 at 19:03, Therneau, Terry M., Ph.D. via R-devel
<r-devel at r-project.org> wrote:
This is what I do in my packages:
https://github.com/r-simmer/simmer/blob/master/vignettes/simmer-08-philosophers.Rmd#L21

If SweaveOpts accept code in the same way, you can set something like

\SweaveOpts{eval=requireNamespace("kinship2", quietly=TRUE)}

I?aki