Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_vignette_auxfiles

Generate RMarkdown Vignette Axiliary Files


Description

Generate RMarkdown Vignette Axiliary Files

Usage

make_vignette_auxfiles(
  PACKAGE,
  input = NULL,
  bibfile = "library.bib",
  Rpkg.prefix = "Rpackage_",
  ...
)

Arguments

PACKAGE

package name

input

vignette source file. If NULL then the current file is obtained via a call to knitr::current_input.

bibfile

output file for R package citations.

Rpkg.prefix

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

Details

To use this feature add the following in your YAML header:

header-includes:
  - \input{"`r pkgmaker::make_vignette_auxfiles('pkgmaker')`"}
bibliography: library.bib

pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.