File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ 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}
You can’t perform that action at this time.
0 commit comments