powered by
This is a wrapper function.
cite_packages( all.pkg = TRUE, style = NULL, out.format = "html", out.dir = getwd(), ... )
Logical. Include all packages used in scripts within the project/folder (the default), or only packages used in the current session? If TRUE, uses dependencies, otherwise uses sessionInfo.
dependencies
sessionInfo
Optional. Citation style to format references. See https://www.zotero.org/styles.
Output format, either "docx", "pdf", "html", or "Rmd" (Rmarkdown).
Directory to save the output document and a BibTeX file with the references. Defaults to working directory.
Other parameters passed to dependencies.
A document with rendered citations in the desired format, plus a file ("pkg-refs.bib") containing references in BibTeX format.
# NOT RUN { library(grateful) cite_packages() cite_packages(style = "ecology", out.format = "docx") # }
Run the code above in your browser using DataLab