Description Usage Arguments Value Examples
View source: R/create_citations.R
This function creates citations for multiple R packages at once. By default, this function will create a citation for R, along with the other functions you include. When creating the citations, you can choose to either receive text citations or have them formatted in BibTeX. The function will return citations in the console pane in your RStudio window.
1 | create_citations(packages = NULL, format = "bibtex", include_r = TRUE)
|
packages |
A list of packages that you have used or plan to use in your document. If packages argument is empty, the function will create citations for packages loaded into current R session. |
format |
The type of citations you want to return. Returns bibtex by default, use 'format = text' to return text citations. |
include_r |
If set to TRUE, will create a citation for R. |
A list of citations for the packages included in a document.
1 2 3 4 5 6 7 | create_citations(packages = list("tidyverse", "DoSStoolkit"),
format = "bibtex")
create_citations(list("Lahman", "ggplot2", "forcats"),
"text")
create_citations(list("tidyverse"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.