This pull request enhances use_vignette_*() to provide a version of the vignette suitable for use in a package. It emphasizes overall vignette structure (including package installation instructions, reference to the support site, etc) rather than the features offered by markdown or BiocStyle. Functions gain arguments (e.g., authors = c(person(), person())) for easy production of custom vignettes.
It is partly in response to a Bioconductor community developer forum slack post.
The templating infrastructure under inst/rmarkdown/templates/package_vignette is a little complicated by the desire to provide a templated version for interactive use, and a complete version for RStudio interactive creation. A README.md file in that directory provides update instructions.
This pull request enhances
use_vignette_*()
to provide a version of the vignette suitable for use in a package. It emphasizes overall vignette structure (including package installation instructions, reference to the support site, etc) rather than the features offered by markdown or BiocStyle. Functions gain arguments (e.g.,authors = c(person(), person())
) for easy production of custom vignettes.It is partly in response to a Bioconductor community developer forum slack post.
The templating infrastructure under
inst/rmarkdown/templates/package_vignette
is a little complicated by the desire to provide a templated version for interactive use, and a complete version for RStudio interactive creation. A README.md file in that directory provides update instructions.