【问题标题】:checking DESCRIPTION meta-information ... NOTE检查DESCRIPTION元信息...注意
【发布时间】:2018-03-25 21:25:51
【问题描述】:

我正在 R 中开发一个包,当我运行 devtools::check() 时,我收到以下注释。

checking DESCRIPTION meta-information ... NOTE Malformed Description field: should contain one or more complete sentences.

我没有在描述中使用我的包名或包这个词。我也使用完整的句子进行描述,但我反复收到此注释。所以我想知道在这种情况下完整的句子是什么意思。

【问题讨论】:

  • 您愿意提供描述字段的文本吗?如果我们能看到它,可能会更容易帮助解决问题。
  • 不提供太多细节,这就是它的样子Functions to analyze methylation data can be found here Highlight of this workflow is the comprehensive quality control report
  • 也许它需要标点符号...我试试Functions to analyze methylation data can be found here. Highlight of this workflow is the comprehensive quality control report.
  • @Matt Tyers 添加句点有效,我在 R 扩展手册中读到我不应该添加句点,然后我仔细检查了它,它仅适用于 title 部分而不适用于 @ 987654326@ 部分。如果您可以添加一个很棒的答案!

标签: r package


【解决方案1】:

尝试在句子末尾添加句点,即将现有的描述字段变为Functions to analyze methylation data can be found here. Highlight of this workflow is the comprehensive quality control report.

我总是觉得有点奇怪,描述字段不应该包含“包”这个词或包的名称......并且还需要完整的句子(需要主语和动词,前导如果您希望您的介绍性句子有一个主题而不使用禁止词,那么语法上非常尴尬的结构。)我很确定从语法上讲,很少有软件包在其描述字段中具有真正“完整”的句子。

我很确定它只是检查大写字母和句点,为了安全起见,我会避免使用任何特殊字符。

我在 CRAN 上的包的描述字段是 Reads river network shape files and computes network distances. Also included are a variety of computation and graphical tools designed for fisheries telemetry research, such as minimum home range, kernel density estimation, and clustering analysis using empirical k-functions with a bootstrap envelope. Tools are also provided for editing the river networks, meaning there is no reliance on external software. 绝对不是最好的,但显然它有效并且 CRAN 喜欢它!

【讨论】:

    【解决方案2】:

    在详细说明的末尾添加句号/句点/点 (.) 将删除此警告。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-24
      • 1970-01-01
      • 2018-08-27
      • 1970-01-01
      相关资源
      最近更新 更多