knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The first thing you will need to do to use citationcheckR
, is install the package and then load it. As of right now, the package is only hosted on Github. The chunk below shows how to install and load in the package.
# install.packages("devtools") # devtools::install_github("matthewwankiewicz/citationcheckR") library(citationcheckR)
Once you have installed the package you are now able to use the functions available. The vingnettes below have examples for how to use each of the functions in the package.
citationcheckR
is able to both create citations and check them, but there are some other similar packages/functions which can create citations in R:
knitr::write_bib
This function, contained in knitr
, takes a list containing packages used and creates a bibTeX file containing the citations. This function can both take lists of packages and also use installed packages to create citations.
knitcitations
contains various functions which help making citations in R easier. The packages has functions which can create citations by DOI and by webpage link, along with packages.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.