citation2zenodo: citation2zenodo

Description Usage Arguments Author(s) Examples

View source: R/citation2zenodo.R

Description

Converts an object of class citation into a .zenodo.json file. This file is an (officially unsupported) method to provide ZENODO with metadata information about the package and will overwrite the information ZENODO would otherwise auto-generate from the repository.

Usage

1
citation2zenodo(cit, folder = NULL)

Arguments

cit

an object of class citation as returned for instance by the function citation, or the name of a R package to be used as source.

folder

a folder the file should be written to. If NULL the content is instead printed.

Author(s)

Jan Philipp Dietrich

Examples

1
2
cit <- citation_doi("citation")
citation2zenodo(cit)

citation documentation built on Jan. 31, 2022, 5:07 p.m.