Learn R Programming

citation (version 0.8.2)

package2zenodo: package2zenodo

Description

Creates a .zenodo.json for a R package. 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

package2zenodo(package = ".")

Value

The metadata information that should be provided to Zenodo in JSON format.

Arguments

package

either the path to the main folder of a package (containing a DESCRIPTION file) or the name of the package. If a path is provided the .zenodo.json file will be directly added to the folder. Otherwise the content of such a file is just returned.

Author

Jan Philipp Dietrich

Examples

Run this code

package2zenodo("citation")

Run the code above in your browser using DataLab