if (FALSE) { # interactive()
# include in YAML header:
# bibliography: grateful-refs.bib
# Get citation keys for the current RMarkdown document
# (run after all packages have been loaded).
citekeys <- cite_packages(output = "citekeys", out.dir = tempdir())
# Include in RMarkdown body for use with pandoc-citeproc:
# `r nocite_references(citekeys, citation_processor = 'pandoc')`
}
Run the code above in your browser using DataLab