write_codemeta {codemeta} | R Documentation |
write_codemeta
Description
write_codemeta
Usage
write_codemeta(
path = ".",
id = NULL,
file = "codemeta.json",
verbose = getOption("verbose", FALSE)
)
Arguments
path |
path to the package root |
id |
identifier for the package (e.g. a DOI, as URL) |
file |
output file location, should be called |
verbose |
Whether to print messages indicating the progress of internet downloads. |
Value
a codemeta list object (invisbly) and write out the codemeta.json file
Examples
# 'path' and 'out' here are for illustrative use only.
# typical use in a package is simply `wite_codemeta()` with no arguments
path <- system.file("", package="codemeta")
out <- tempfile(fileext =".json")
write_codemeta(path, file = out)
[Package codemeta version 0.1.1 Index]