Skip to content

Commit c9e4df4

Browse files
authored
fix for actions?
1 parent 9e473df commit c9e4df4

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/r.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
#
6+
# See https://github.com/r-lib/actions/tree/master/examples#readme for
7+
# additional example workflows available for the R community.
8+
9+
name: R
10+
11+
on:
12+
push:
13+
branches: [ master ]
14+
pull_request:
15+
branches: [ master ]
16+
17+
jobs:
18+
build:
19+
runs-on: macos-latest
20+
strategy:
21+
matrix:
22+
r-version: ['3.6.3', '4.1.1']
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Set up R ${{ matrix.r-version }}
27+
uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
28+
with:
29+
r-version: ${{ matrix.r-version }}
30+
- name: Install dependencies
31+
run: |
32+
install.packages(c("remotes", "rcmdcheck"))
33+
remotes::install_deps(dependencies = TRUE)
34+
shell: Rscript {0}
35+
- name: Check
36+
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
37+
shell: Rscript {0}

0 commit comments

Comments
 (0)