R-actions
R-actions copied to clipboard
Automatically build and check your R package with GitHub Actions
R package build and test action
This action is designed to automatically run build and check for R packages on their code with every commit.
Example Usage
To get this action running in your project, add the following config to .github/workflows/Rbuild.yml:
name: R Build and Checks
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: R Build and Checks
uses: Swechhya/[email protected]
with:
action: 'all'
needsBioc: false
buildSubDirectory: './'
The action property can be any one of:
buildOnly builds the packageallRuns build and checks the built package
The needsBioc property can be any one of:
trueInstalls bioconductor and dependenciesfalseOnly installs CRAN dependencies