| add_citation | R Documentation |
This function creates a CITATION file in the folder inst/. This file
contains a BiBTeX entry to cite the package as a manual. User will need to
edit by hand some information (title, version, etc.).
add_citation(
given = NULL,
family = NULL,
organisation = NULL,
open = TRUE,
overwrite = FALSE,
quiet = FALSE
)
given |
A character of length 1. The given name of the project maintainer. |
family |
A character of length 1. The family name of the project maintainer. |
organisation |
A character of length 1. The name of the GitHub
organisation to host the package. If |
open |
A logical value. If |
overwrite |
A logical value. If this file is already present and
|
quiet |
A logical value. If |
No return value.
Other create files:
add_code_of_conduct(),
add_compendium(),
add_contributing(),
add_description(),
add_dockerfile(),
add_license(),
add_makefile(),
add_package_doc(),
add_readme_rmd(),
add_renv(),
add_testthat(),
add_vignette()
## Not run:
add_citation()
readCitationFile("inst/CITATION")
citation("pkg") # If you have installed your package <pkg>
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.