package2zenodo: package2zenodo

View source: R/package2zenodo.R

package2zenodoR Documentation

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 = ".")

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.

Value

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

Author(s)

Jan Philipp Dietrich

Examples


package2zenodo("citation")

pik-piam/citation documentation built on Jan. 31, 2024, 10 a.m.