I'd like to know how to set up continuous integration services to run BiocCheck
as well as R CMD check
. I'm particularly interested in SemaphoreCI and AppVeyor; answers for Travis CI are also likely to be useful to the community.
For AppVeyor and Travis CI, I guess it involves updateing the appveyor.yml
/.travis.yml
config file. Adding this line should install the biocCheck
package; I'm just not quite sure how to run the check and retrieve the results:
build_script: - travis-tool.sh install_bioc BiocCheck
The R Code for a pass is something like:
chk <- BiocCheck::BiocCheck(".")
ok <- with(chk, length(requirements) + length(recommendations) == 0)
How do I set up CI to run BiocCheck?
I've filed issues with R-builder and R-AppVeyor to start the ball rolling.