A script that faciliates testing R packages with Travis CI. To test each commit and pull request:
.travis.yml
file to the root of your R package on GitHub.travis.yml
to .Rbuildignore
language: c
env:
global:
- RTRAVISPATH=$HOME/r-travis
- RTRAVISR="" # add custom R code to be executed before installing package
matrix:
- RTRAVISTYPE=quick
- RTRAVISTYPE=full
# install dependencies
install:
- curl -L https://raw.github.com/krlmlr/R-travis/master/r-travis -o $RTRAVISPATH
- chmod +x $RTRAVISPATH
- sudo -E $RTRAVISPATH/r-travis install
# run tests
script:
- $RTRAVISPATH/r-travis test
Two test environments are run:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4