format_pkg_citation | R Documentation |
Formats package as 'pkg' and, when called the first time, adds reference as [@R-pkg]
format_pkg_citation( pkg, github_address = NULL, force_ref = FALSE, make_index = TRUE )
pkg |
a pkg availabe locally or github |
github_address |
github address of package code (eg. "msperlin/vdr") |
force_ref |
Logical (TRUE or FALSE) - defines whether to force formal reference (e.g. [@R-pkg]) |
make_index |
Logical (TRUE or FALSE) - defines wheter to write index for remissive index of book |
a string in rmarkdown
format_pkg_citation("dplyr")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.