knitr::opts_chunk$set(echo = TRUE)
The goal of this book is....
The below code automatically generates the packages.bib
, a bibtex
format for all the packages listed. If you contribute to this book and include a particular R package in your guide (as with bookdown
above), consider adding it to the code chunk and citing it via including [@R-package_name]
in the text.
knitr::write_bib(c( .packages(), 'bookdown', 'knitr', 'rmarkdown' ), 'packages.bib')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.