travispkg
This is a proof-of-concept dummy R package that aims to use TravisCI to:
- Run
R CMD check
on Linux, MacOS, and Windows. - Push package tarball, MacOS binary, and Windows binary to a drat repository, as proposed here
To that end the .travis.yml
runs script files kept in .travis
folder.
Built packages are pushed to drat repository at https://mbojan.github.io/drat and can be inspected with
a_src <- available.packages(repos="https://mbojan.github.io/drat")
"travispkg" %in% rownames(a_src)
#> [1] TRUE
a_winbin <- available.packages(repos="https://mbojan.github.io/drat", type="win.binary")
"travispkg" %in% rownames(a_winbin)
#> [1] TRUE
and installed with by using drat facilities as described here:
drat::addRepo("mbojan")
install.packages("travispkg")
or simply:
install.packages("travispkg", repos="https://mbojan.github.io/drat")