A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ropensci/software-review/issues/462 below:

{cffr} Generate Citation File Format ('cff') Metadata for R Packages · Issue #462 · ropensci/software-review · GitHub

Submitting Author: Diego Hernangómez (@dieghernan)
Repository: https://github.com/dieghernan/cffr
Submission type: Pre-submission


Package: cffr
Title: Generate Citation File Format ('cff') Metadata for R Packages
Version: 0.0.0.9000
Authors@R: 
    person(given = "Diego",
           family = "Hernangómez",
           role = c("aut", "cre"),
           email = "diego.hernangomezherrero@gmail.com",
           comment = c(ORCID = "0000-0001-8457-4658"))
Description: The Citation File Format version 1.2.0 (Druskat, S. et al.
    (2021) <doi:10.5281/zenodo.5171937>) is a human and machine readable
    file format which provides citation metadata for software.  This
    package provides core utilities to generate and validate this
    metadata.
License: GPL (>= 3)
URL: https://dieghernan.github.io/cffr/,
    https://github.com/dieghernan/cffr
BugReports: https://github.com/dieghernan/cffr/issues
Depends: 
    R (>= 3.6.0)
Imports: 
    crayon (>= 1.4.1),
    desc (>= 1.3.0),
    jsonlite (>= 1.7.2),
    jsonvalidate (>= 1.1.0),
    yaml (>= 2.2.1)
Suggests: 
    knitr,
    rmarkdown,
    testthat (>= 3.0.0)
VignetteBuilder: 
    knitr
Config/testthat/edition: 3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
X-schema.org-keywords: attribution, citation, credit, citation-files, cff,
    metadata

Scope

The package extract metadata from DESCRIPTION and CITATION and generates a CITATION.cff file.

CITATION.cff files are plain text files with human- and machine-readable citation information for software (and datasets)

Not aplicable.

Any R package developer. A CITATION.cff file provides clarity when citating R packages. GitHub, Zenodo and Zotero supports this format.

{citation} package seems to provide similar support. {cffr} adds an extensive extraction of CITATION metadata. It seems that supports CFF v1.1.0 whereas {cffr} supports v1.2.0 (latest release).

I haven’t explore it in deep, but {cffr} provides a set of functions for managing the full lifecycle of the creation of the file: generation, customisation, generation and validation against the official schema with {jsonvalidate}.

Not applicable

The package is functional right now, with minor tweaks to capture corner cases. It has been tested againts >800 packages on my local installation, see https://github.com/dieghernan/cffr/tree/main/tests/testthat/test_local_installation.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4