Skip to content

Commit 11d8268

Browse files
Add Github Actions workflow for R CMD check
2 parents d8357f2 + 88265c5 commit 11d8268

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: R-CMD-check
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
R-CMD-check:
11+
runs-on: ubuntu-latest
12+
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+
- name: Install dependencies
21+
run: |
22+
install.packages('remotes')
23+
remotes::install_deps(dependencies = TRUE)
24+
25+
- name: Check
26+
run: R CMD check --no-manual --as-cran .

0 commit comments

Comments
 (0)