There are github actions nicely shared by the r-lib team to the r community, but workflows are not shared. This repository is created to make workflows shareable with a just a couple of lines of code across (not necessarily only) FertigLab.
This is the main shareable workflow, ready to be triggered by another, external workflow. When triggered, it performs repository checkout, building and checking of an R package in three different platforms: mac os, windows, and ubuntu.
This workflow uses the r-build-check as an example of integration. In case you'd like to use r-build-check, simply put the call-example code into your .github/workflows/[pick a name].yml
file. Do add .github
to .Rbuildignore
to avoid check warnings.