I'm trying to see the code coverage of sumbose/iRF, so I did a git clone
, started an R session inside of the directory, and
> 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
However, both R CMD INSTALL iRF
and install.packages('iRF', repos = NULL)
installs the package as expected.