Skip to content

Commit

Permalink
Add automated build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tfry-git committed Jun 14, 2024
1 parent 108a161 commit 059009a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/package_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
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"'

0 comments on commit 059009a

Please sign in to comment.