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)

Arguments

x

Either a checklist object or a path to the source code. Defaults to ..

quiet

Whether to print check output during checking.

Value

An invisible checklist object.

Details

  • .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.

Note

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.