inbo / checklist

An R package for checking R packages and R code
https://inbo.github.io/checklist
GNU General Public License v3.0
16 stars 2 forks source link

citation.cff gets malformed title field when single quotes appear in package title #115

Closed florisvdh closed 2 months ago

florisvdh commented 1 year ago

CRAN requires single quotes around software names in title and other fields of DESCRIPTION.

A package title Using 'QGIS' Processing Algorithms is being transformed erroneously to:

title: 'qgisprocess: Using ''QGIS'' Processing Algorithms'

Given the use of double quotes in https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#title, I suggest to apply double quotes to surround string fields in the CFF file.

florisvdh commented 1 year ago

Perhaps an alternative could be to drop the single quotes inside the string.