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.