R包CMD检查

时间:2018-12-27 12:21:46

标签: r

我已经用R编写了一些代码供个人使用。该软件包已成功安装在我的个人笔记本电脑上(我在其中编写了这些命令)并正常工作。但是,当我将其分发给其他同事时,该软件包未安装并返回了这些错误。

在R CMD安装中

Warning in install.packages : running command

"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Program

Files\R\R-3.4.3\library" "E:/test/Gene_1.0.tar.gz"' had status 1

Warning in install.packages :   installation of package

E:/test/Gene_1.0.tar.gz had non-zero exit status

其次,我在R-studio中运行了“ CHECK PACKAGE”命令。这些结果表示两个错误和两个注释。

> checking DESCRIPTION meta-information ... WARNING
  Dependence on R version '3.5.1' not with patchlevel 0

> checking for unstated dependencies in examples ... OK
   WARNING
  'qpdf' is needed for checks on size reduction of PDFs
0 errors v | 2 warnings x | 2 notes x

Error: R CMD check found WARNINGs

Execution halted

Exited with status 1.

0 个答案:

没有答案