5

我正在尝试查看sumbose/iRF的代码覆盖率,所以我做了一个git clone,在目录中启动了一个 R 会话,然后

> library(covr)
> package_coverage()
Error in file(con, "r") : cannot open the connection
In addition: Warning messages:
1: In utils::install.packages(repos = NULL, lib = tmp_lib, pkg$path,  :
  installation of package ‘/private/tmp/iRF’ had non-zero exit status
2: In file(con, "r") :
  cannot open file '/private/var/folders/ny/f06ns0d568bgf6s559z8j_9m0000gn/T/RtmpAr8dLV/R_LIBS168866d1ef32f/iRF/R/iRF': No such file or directory

但是,两者都R CMD INSTALL iRFinstall.packages('iRF', repos = NULL)预期安装包。

4

0 回答 0