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] , Maƫlle Salmon [ctb, aut] , Katrin Leinweber [ctb] , Noam Ross [ctb] , Arfon Smith [ctb], Jeroen Ooms [ctb] , Sebastian Meyer [ctb] , Michael Rustler [ctb] , Hauke Sonnenberg [ctb] , Sebastian Kreutzer [ctb] , rOpenSci [fnd] (https://ropensci.org/) |
Maintainer: | Carl Boettiger <[email protected]> |
License: | GPL-3 |
Version: | 0.1.1 |
Built: | 2024-11-08 02:41:10 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)