Learn R Programming

citation (version 0.8.2)

citation2zenodo: citation2zenodo

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

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

Jan Philipp Dietrich

Examples

Run this code

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

Run the code above in your browser using DataLab