Skip to content

Add automated build workflow #4

Add automated build workflow

Add automated build workflow #4

Workflow file for this run

name: R Build and Checks
on: [push, pull_request]
jobs:
R-CMD-check:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-rv2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependenciesv2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--as-cran")'
error-on: '"error"'
check-dir: '"check"'