{grateful} is now on CRAN!

{grateful} makes it very easy to cite #Rstats packages, so that software authors get their deserved credit

https://pakillo.github.io/grateful/

Thread 1/

Facilitate Citation of R Packages

Facilitates the citation of R packages used in analysis projects. Scans project for packages used, gets their citations, and produces a document with citations in the preferred bibliography format, ready to be pasted into reports or manuscripts. Alternatively, grateful can be used directly within an R Markdown or Quarto document.

@frod_san Are you aware of the {cffr} #RStats package that produces CITATION.cff files for R? There seems to be some overlap, and perhaps there is value in letting the two interface with each other?

https://github.com/ropensci/cffr

#CitationFileFormat #SoftwareCitation

GitHub - ropensci/cffr: Generate Citation File Format (cff) Metadata for R Packages

Generate Citation File Format (cff) Metadata for R Packages - GitHub - ropensci/cffr: Generate Citation File Format (cff) Metadata for R Packages

GitHub

@sdruskat

Thanks. Trying to understand how CITATION.cff could be used.

Are CITATION.cff files locally available for packages installed from CRAN, GitHub, etc? Or would we need to search for CITATION.cff in online repos every time we want to cite them?

cc @dhernangomez

@frod_san @sdruskat CITATION.cff files are available in GitHub repos only. As by now CRAN checks shows a "non-standard file" NOTE. However it is easy to recreate a CITATION.cff file for an installed package, just do cffr::cff_create("dplyr")
@frod_san @sdruskat on top of that there is a parser `cff_to_bibtex()` that creates R bibentry objects from a CITATION.cff file, so they can be further manipulated with R. Probably this may be interesting for you