The goal of tic is to enhance and simplify working with continuous integration (CI) systems like Travis CI or AppVeyor for R projects. To learn more about CI, read this blog post and our Getting Started vignette.
The most important improvements over existing solutions are:
Deployment to a Git repository is greatly simplified. Update your repository with results from the CI build.
Support for R packages and other kinds of project (bookdown, blogdown, etc.), with predefined templates. Set up your project to deploy rendered versions of your book or blog with a single push to Git.
Workflow specification in a single
.R file, regardless of CI system used.
.yml files or web browser configurations.
It can be installed from Github with:
tic::use_tic() a production ready CI setup is initialized, tailored to your specific R project. The created templates will use the providers https://travis-ci.org and https://appveyor.com. For an R package, the following steps will be set up for the CI workflow:
pkgdownsite, with deployment to the
docs/directory of the
All examples listed here work with Travis, some work with AppVeyor too. The badges link to the most recent build of the master branch.
tic.covrpage: Unit test summary report.
The setup functions in this package assume Git as version control system, and GitHub as platform. Automated setup works best if the project under test is located in the root of the Git repository. Multi-project repositories are not supported, see the comment by @jwijffels for guidance to work around this limitation.