Generate RMarkdown Vignette Axiliary Files
make_vignette_auxfiles(PACKAGE, input = NULL, bibfile = "library.bib",
Rpkg.prefix = "Rpackage_", ...)
package name
vignette source file.
If NULL
then the current file is obtained via a call to knitr::current_input.
output file for R package citations.
prefix to use when generating the bibtex entries of cited R packages.
If Rpkg.prefix = 'Rpackage_'
, then Rmardown citations should be @Rpackage_mypkg
.
other arguments passed to latex_preamble
To use this feature add the following in your YAML header:
header-includes: - \input{"`r pkgmaker::make_vignette_auxfiles('pkgmaker')`"} bibliography: library.bib