代码之家  ›  专栏  ›  技术社区  ›  Nautica

使用devtools构建包-抛出一个错误,其中“Author”和“mainter”字段丢失/为空,尽管已填充

  •  1
  • Nautica  · 技术社区  · 7 年前

    在我的描述文件中,我使用了 AUTHORS@R Author Maintainer

    > checking for file 'bar/DESCRIPTION' ... ERROR
      Required fields missing or empty:
        'Author' 'Maintainer'
    

    这是以前的工作,所以我不知道为什么现在不起作用。我已经保存了文件,并用“Clean and Rebuild”重新构建了pkg。或者我试着把 作者 手动输入,但也不起作用。

    enter image description here

    0 回复  |  直到 7 年前
        1
  •  2
  •   Alex    6 年前

    你得跑了 R CMD build 在回购协议上 R CMD check