package2zenodo: package2zenodo

Description Usage Arguments Value Author(s) Examples

View source: R/package2zenodo.R

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

1
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

1
package2zenodo("citation")

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