Easy and portable CI for R packages
This repository provides a script
run.sh for portable, flexible and lightweight Continuous Integration (CI) use at
GitHub Actions, Travis, Azure Pipelines and Docker for local testing and use -- all shown below via real examples -- and likely others such as GitLab.
This script contains the following key functions which are typically all a user needs to call:
Sets up the R environment, installs auxiliary packages such as
DESCRIPTIONand installs the required packages.
install_allis a (slightly heavier) alternative pulling not only dependencies but also suggested packages.
Builds the package tarball, and runs tests on it resulting in the overall CI test pass or fail.