bibify_pkgs | R Documentation |
This function creates an output bibliography from an input character vector of package names. The primary use case for this function is when working with other authors and you need to provide a reference list of packages used.
bibify_pkgs(pkgs, csl, append_bib = NULL, keep_intermediate = FALSE, ...)
pkgs |
A character vector of packages |
csl |
A csl file used to format the output bibliography. Good place to look for these is https://github.com/citation-style-language/styles |
append_bib |
Existing |
keep_intermediate |
A logical indicating if you would like to keep the
intermediate |
... |
Used to pass arguments to render. Most useful
for changing output format (e.g. |
download.file("https://raw.githubusercontent.com/citation-style-language/styles/master/plos.csl",
destfile = "plos.csl")
bibify_pkgs(c("dplyr","readr"),"plos.csl", output_format = "word_document",
output_file = "my_package_bib.docx")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.