So I'm writing an R package. Part of the essential documentation is the DESCRIPTION file. In this DESCRIPTION file there is a line where one must specify the Licensing of the package for CRAN-sharability purposes.
I've tried inputting the license in any and every format I can think of, but it still fails when performing R CMD check --as-cran
, stating
* checking DESCRIPTION meta-information ... WARNING Non-standard license specification: What license is it under? Standardizable: FALSE
So far I've tried:
License: GPL (>=3) License: GPL-3: License: GPL_3 License: GNU Affero General Public License License: GPL
and all of them throw the same error. What, in the name of all that is sacred, is the way this sneaky string is supposed to look like?
DESCRIPTION FILE:
Package: lucas
Type: Package
Title: Package to download and create the DB of LUCAS data harmonized
Version: 1.0
Date: 2020-04-28
Authors@R: c(person("Mom", "Iork", email = "[email protected]", role = c("aut")), person("La", "Ma", email = "[email protected]", role = c("cre")))
Maintainer: Jane Doe <[email protected]>
Authors: Mom Iork <[email protected]>, Jane Doe <[email protected]>, John Doe <[email protected]>
Description: Package to reproduce the harmonized DB of LUCAS points
Depends:
R (>= 3.4),
RPostgreSQL,
rpostgis,
plyr,
stringr
Imports:
RPostgreSQL,
rpostgis,
plyr,
stringr
License: GPL (>=3)
LazyData: TRUE
RoxygenNote: 7.1.0
Encoding: UTF-8
tools:::.check_package_license()
function. Can you provide a complete DESCRIPTION file that can be used for testing? – Tbtools:::analyze_license("GPL (>=3)")
and your license passes that check. When I run the checker on your sample file it passes just fine. What version of R are you running? Are you sure this is the file it's checking? The error message should print the bad value and since there is nothing there it's like the DESCRIPTION file cant be parsed or something. – Tb