[英]travis-ci build for r package
我最近為我的在線課程構建了 R package。 但是,當我運行 travis-ci build 時,由於以下錯誤而停止:
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.
如果您能給我一些有關如何通過此測試的提示,我將不勝感激。 我還對我的 package 運行 R cmd 檢查,我收到的唯一警告如下:
WARNING
'qpdf' is needed for checks on size reduction of PDFs
然而,這個檢查也停止了。
我還要留下我的 github package 地址:
我將這些行添加到我的.travis.yml
並傳遞了我的 travis 構建:
addons:
apt:
packages:
- libgit2-dev
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.