Skip to content

Commit de6f9dd

Browse files
authored
Merge pull request #1 from PALP31/feat/ci-rcmdcheck
ci: add automated R-CMD-check GitHub Actions workflow
2 parents 9bd301e + c94101e commit de6f9dd

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: R-CMD-check
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
R-CMD-check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: r-lib/actions/setup-r@v2
17+
with:
18+
use-public-rspm: true
19+
20+
- uses: r-lib/actions/setup-r-dependencies@v2
21+
with:
22+
extra-packages: any::rcmdcheck
23+
needs: check
24+
25+
- uses: r-lib/actions/check-r-package@v2

0 commit comments

Comments
 (0)