构建 r 包
Building r packages
我最近为我的在线课程构建了 R 包。但是,当我 运行 travis-ci 构建时,由于以下错误而停止:
https://github.com/AnoushiravanR/fars
ERROR: configuration failed for package ‘gert’
* removing ‘/home/travis/R/Library/gert’
Error in i.p(...) :
(converted from warning) installation of package ‘gert’ had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
The command "Rscript -e 'deps <- remotes::dev_package_deps(dependencies = NA);remotes::install_deps(dependencies = TRUE);if (!all(deps$package %in% installed.packages())) { message("missing: ", paste(setdiff(deps$package, installed.packages()), collapse=", ")); q(status = 1, save = "no")}'" failed and exited with 1 during .
Your build has been stopped.
如果你能给我一些关于如何通过这个测试的提示,我会很高兴ci吃掉它。
我还 运行 R cmd 检查我的包裹,我收到的唯一警告如下:
WARNING
'qpdf' is needed for checks on size reduction of PDFs
但是,此签入也停止了。
我也会留下我的github包裹地址:
我觉得\code{\link[dplyr:filter]}
应该是\code{\link[dplyr]{filter}}
,见https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Cross_002dreferences。那应该(?)能解决你的部分问题,不知道能不能解决所有问题。
我最近为我的在线课程构建了 R 包。但是,当我 运行 travis-ci 构建时,由于以下错误而停止:
https://github.com/AnoushiravanR/fars
ERROR: configuration failed for package ‘gert’
* removing ‘/home/travis/R/Library/gert’
Error in i.p(...) :
(converted from warning) installation of package ‘gert’ had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
The command "Rscript -e 'deps <- remotes::dev_package_deps(dependencies = NA);remotes::install_deps(dependencies = TRUE);if (!all(deps$package %in% installed.packages())) { message("missing: ", paste(setdiff(deps$package, installed.packages()), collapse=", ")); q(status = 1, save = "no")}'" failed and exited with 1 during .
Your build has been stopped.
如果你能给我一些关于如何通过这个测试的提示,我会很高兴ci吃掉它。 我还 运行 R cmd 检查我的包裹,我收到的唯一警告如下:
WARNING
'qpdf' is needed for checks on size reduction of PDFs
但是,此签入也停止了。
我也会留下我的github包裹地址:
我觉得\code{\link[dplyr:filter]}
应该是\code{\link[dplyr]{filter}}
,见https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Cross_002dreferences。那应该(?)能解决你的部分问题,不知道能不能解决所有问题。