powered by
Create template rmarkdown file with package citations
create_rmd( bib.list, bibfile = "pkg-refs.bib", csl = NULL, filename = "refs.Rmd", out.dir = getwd() )
List of package citations in BibTeX format, as produced by get_citations.
get_citations
Name of the file containing references in BibTeX format, as produced by get_citations.
Optional. Citation style to format references. See http://citationstyles.org/styles/.
Name of the rmarkdown file
Directory to save the output document. Defaults to working directory.
An rmarkdown file
# NOT RUN { library(grateful) pkgs <- scan_packages() cites <- get_citations(pkgs) rmd <- create_rmd(cites) # }
Run the code above in your browser using DataLab