Title: | A Smaller 'codemetar' Package |
---|---|
Description: | The 'Codemeta' Project defines a 'JSON-LD' format for describing software metadata, as detailed at <https://codemeta.github.io>. This package provides core utilities to generate this metadata with a minimum of dependencies. |
Authors: | Carl Boettiger [aut, cre, cph]
|
Maintainer: | Carl Boettiger <[email protected]> |
License: | GPL-3 |
Version: | 0.1.1 |
Built: | 2025-03-08 02:14:25 UTC |
Source: | https://github.com/cboettig/codemeta |
write_codemeta
write_codemeta( path = ".", id = NULL, file = "codemeta.json", verbose = getOption("verbose", FALSE) )
write_codemeta( path = ".", id = NULL, file = "codemeta.json", verbose = getOption("verbose", FALSE) )
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. |
a codemeta list object (invisbly) and write out the codemeta.json file
# '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)
# '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)