Below a few example packages with a multi-OS build matrix which illustrate various options: travis.yml configuration from another package. The quickest way to get started is by borrowing a. The R travis options are pretty well documented.
However any R package can easily be configured to take advantage of these features immediately. C or C++) against various combinations of compiler versions, external libraries or system services.
Jim Hester has done a great job of tweaking the travis R-language build script to automate building and checking of R packages on the various platforms.Ĭross system testing is mainly useful to check packages with compiled code (i.e. Travis is now providing support for multiple operating systems, including Ubuntu 14.04 (Trusty) and various flavors of Mac OS-X. Hadley’s book about R packages explains how and why R package authors should take advantage of this in their development process. Travis is a continuous integration service which allows for running automated testing code everytime you push to GitHub.