[英]Correct format for input of License into DESCRIPTION document of own R package
所以我正在寫一個 R package。部分基本文檔是 DESCRIPTION 文件。 在此 DESCRIPTION 文件中,有一行必須指定 package 的許可,以用於 CRAN 共享目的。
我已經嘗試以我能想到的任何格式輸入許可證,但在執行R CMD check --as-cran
時仍然失敗,說明
* checking DESCRIPTION meta-information... WARNING Non-standard license specification: What license is it under? Standardizable: FALSE
到目前為止,我已經嘗試過:
License: GPL (>=3) License: GPL-3: License: GPL_3 License: GNU Affero General Public License License: GPL
他們都拋出同樣的錯誤。 以所有神聖的名義,這條偷偷摸摸的繩子應該是什么樣子的?
描述文件:
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 = "samplemail@mail.com", role = c("aut")), person("La", "Ma", email = "samplemail@mail.com", role = c("cre")))
Maintainer: Jane Doe <samplemail@mail.com>
Authors: Mom Iork <samplemail@mail.com>, Jane Doe <samplemail@mail.com>, John Doe <samplemail@mail.com>
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
對於任何仍在尋找答案的人。 使用函數在usethis
package https://usethis.r-lib.org/reference/licenses.html
例如, use_gpl_license()
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.