Description Usage Arguments Value Examples
View source: R/create_citation_file.R
This function is an extension of the 'create_citation' file. 'create_citation_file' creates a new file which contains your citations. The file name can be changed but by default it will be called 'references.bib'.
1 2 3 4 5 6 | create_citation_file(
packages = NULL,
format = "bibtex",
filename = "references.bib",
include_r = TRUE
)
|
packages |
A list of packages that you have used or plan to use in your document. |
format |
The type of citations you want to return. |
filename |
A file containing the citations of the packages used. Called 'references.bib' by default. |
include_r |
If set to TRUE, will create a citation for R. |
A new file containing the citations of packages.
1 2 3 4 5 6 | create_citation_file(packages = list("tidyverse", "DoSStoolkit"),
format = "bibtex")
create_citation_file(c("tidyverse", "Lahman"), include_r = TRUE)
create_citation_file(c("DoSStoolkit"), format = "text")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.