citations: function that returns citations for a list of packages

Description Usage Arguments

Description

function that returns citations for a list of packages

Usage

1
2
citations(packages = NULL, type = c("text", "bibtex", "raw", "html",
  "markdown", "list"), file = NULL)

Arguments

packages

if NULL the packages_in_use() function is used genarate a list of all packages currently in use and work with that; if a character vector of package names is supplied all those package will be cited

type

the return type, only first element will be used: (raw) the raw values returned by citation() are returned as a list; (bibtex) a character vector of BibTeX entries is returned with each entry coresponding to one element; (text) a character vector of un-marked-up text is returned with each element coresponding to one citation; (markdown) a character vector of preformatted markdown text; (html) a character vector of preformatted html text


Ironholds/credit documentation built on May 7, 2019, 6:39 a.m.