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+ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+ on :
4+ push :
5+ branches : [main, master]
6+ pull_request :
7+
8+ name : R-CMD-check.yaml
9+
10+ permissions : read-all
11+
12+ jobs :
13+ R-CMD-check :
14+ runs-on : ${{ matrix.config.os }}
15+
16+ name : ${{ matrix.config.os }} (${{ matrix.config.r }})
17+
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ config :
22+ - {os: macos-latest, r: 'release'}
23+ - {os: windows-latest, r: 'release'}
24+ - {os: ubuntu-latest, r: 'release'}
25+
26+ env :
27+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
28+ R_KEEP_PKG_SOURCE : yes
29+
30+ steps :
31+ - uses : actions/checkout@v4
32+
33+ - uses : r-lib/actions/setup-pandoc@v2
34+
35+ - uses : r-lib/actions/setup-r@v2
36+ with :
37+ r-version : ${{ matrix.config.r }}
38+ http-user-agent : ${{ matrix.config.http-user-agent }}
39+ use-public-rspm : true
40+
41+ - uses : r-lib/actions/setup-r-dependencies@v2
42+ with :
43+ extra-packages : any::rcmdcheck
44+ needs : check
45+
46+ - uses : r-lib/actions/check-r-package@v2
47+ with :
48+ upload-snapshots : true
49+ build_args : ' c("--no-manual","--compact-vignettes=gs+qpdf")'
You can’t perform that action at this time.
0 commit comments