View source: R/update_citation.R
update_citation | R Documentation |
The function extracts citation meta data from the project. Then it checks the required meta data. Upon success, it writes several files.
update_citation(x = ".", quiet = FALSE)
x |
Either a |
quiet |
Whether to print check output during checking. |
.zenodo.json
contains the citation information in the format that
Zenodo requires.
CITATION.cff
provides the citation information in the format that
GitHub requires.
inst/CITATION
provides the citation information in the format that
R packages require.
It is only relevant for packages.
An invisible checklist
object.
Source of the citation meta data:
package: DESCRIPTION
project: README.md
Should you want to add more information to the inst/CITATION
file,
add it to that file outside # begin checklist entry
and
# end checklist entry
.
Other both:
add_badges()
,
check_filename()
,
check_lintr()
,
check_spelling()
,
custom_dictionary()
,
default_organisation()
,
print.checklist_spelling()
,
read_checklist()
,
read_organisation()
,
write_checklist()
,
write_citation_cff()
,
write_organisation()
,
write_zenodo_json()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.