File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 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+ permissions :
18+ contents : read
19+
20+ jobs :
21+ build :
22+ runs-on : macos-latest
23+ strategy :
24+ matrix :
25+ r-version : ['3.6.3', '4.1.1']
26+
27+ steps :
28+ - uses : actions/checkout@v4
29+ - name : Set up R ${{ matrix.r-version }}
30+ uses : r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
31+ with :
32+ r-version : ${{ matrix.r-version }}
33+ - name : Install dependencies
34+ run : |
35+ install.packages(c("remotes", "rcmdcheck"))
36+ remotes::install_deps(dependencies = TRUE)
37+ shell : Rscript {0}
38+ - name : Check
39+ run : rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
40+ shell : Rscript {0}
You can’t perform that action at this time.
0 commit comments