powered by
Get citations for packages
get_citations(pkgs, filename = "pkg-refs.bib", out.dir = getwd())
Character vector of package names, e.g. as produced by scan_packages.
scan_packages
Optional. Name of BibTeX file containing packages references.
Directory to save the BibTeX file with the references. Defaults to working directory.
Nothing by default. If assigned a name, a list with package citations in BibTeX format. Optionally, a file with references in BibTeX format.
# NOT RUN { library(grateful) pkgs <- scan_packages() cites <- get_citations(pkgs) # }
Run the code above in your browser using DataLab