ropensci / software-review

rOpenSci Software Peer Review.
292 stars 104 forks source link

Presubmission inquiry: {cffr} Generate Citation File Format ('cff') Metadata for R Packages #462

Closed dieghernan closed 3 years ago

dieghernan commented 3 years ago

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.

noamross commented 3 years ago

Hi @dieghernan. Yes, this package falls neatly into our scope for citation support and we'd be glad for a full submission. I think it would be useful to use the review process to work out recommended workflows for using CITATION, CITATION.cff and codemeta.json, as we will probably update our own guidance and requirements for citation based on that! Glad to see you've already started the conversation in codemeta.

dieghernan commented 3 years ago

Thanks @noamross, I will submit it in the next few days