I’m running into a problem where my package Check take a long time and Travis times out with the error:
Running ‘testthat.R’
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
That documentation talks about including a term travis_wait
, but since the Check happens automatically, I’m not sure how to use that feature. Here’s what I tried, but it seemed to just allow the “wait” on opening R the first time:
language: r
cache: packages
sudo: false
dist: trusty
matrix:
include:
- os: linux
r: release
- os: linux
r: devel
addons:
apt:
packages:
- libcurl4-openssl-dev
env:
global:
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
- NOT_CRAN="true"
- _R_CHECK_FORCE_SUGGESTS_=false
warnings_are_errors: true
install:
- travis_wait 30 Rscript -e "0"
r_github_packages:
- jimhester/covr
after_success:
- Rscript -e 'covr::coveralls()'
notifications:
email:
on_success: change
on_failure: change
Has anyone used the travis_wait function on a native R build?