packrat_bibliography: build a bibliography bibtex file from your packrat lockfile

Description Usage Arguments

View source: R/rmarkdown_options.R

Description

Packrat helps you maintain consistent package versions for a project. To be able to give due credit in a way that academics understand, it's helpful to be able to generate citations.

Usage

1
2
3
4
packrat_bibliography(overwrite_bib = FALSE, silent = FALSE,
  cite_only_directly_called = TRUE, lockfile_path = "packrat/packrat.lock",
  bibliography_path = "packrat_bibliography.bibtex", cite_R = TRUE,
  cite_packrat = TRUE)

Arguments

overwrite_bib

whether to overwrite an existing bibtex file of the same name

silent

defaults to false. whether to cat out a nocite string to use in your header

cite_only_directly_called

whether to call only the packages you called yourself (default) or also their dependencies

lockfile_path

path to the packrat lock file to use

bibliography_path

path to the bibtex file to generate

cite_R

whether to cite R, defaults to true

cite_packrat

whether to cite packrat even if it's not loaded explicitly, defaults to true


grebbel/formr_test documentation built on May 17, 2019, 8:34 a.m.