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- #
4- # NOTE: This workflow only directly installs "hard" dependencies, i.e. Depends,
5- # Imports, and LinkingTo dependencies. Notably, Suggests dependencies are never
6- # installed, with the exception of testthat, knitr, and rmarkdown. The cache is
7- # never used to avoid accidentally restoring a cache containing a suggested
8- # dependency.
9- on :
10- push :
11- branches : master
12- pull_request :
13-
14- name : check-no-suggests.yaml
15-
16- permissions : read-all
17-
18- jobs :
19- check-no-suggests :
20- runs-on : ${{ matrix.config.os }}
21-
22- name : ${{ matrix.config.os }} (${{ matrix.config.r }})
23-
24- strategy :
25- fail-fast : false
26- matrix :
27- config :
28- - {os: ubuntu-latest, r: 'release'}
29-
30- env :
31- GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
32- R_KEEP_PKG_SOURCE : yes
33-
34- steps :
35- - uses : actions/checkout@v4
36-
37- - uses : r-lib/actions/setup-pandoc@v2
38-
39- - uses : r-lib/actions/setup-r@v2
40- with :
41- r-version : ${{ matrix.config.r }}
42- http-user-agent : ${{ matrix.config.http-user-agent }}
43- use-public-rspm : true
44-
45- - uses : r-lib/actions/setup-r-dependencies@v2
46- with :
47- dependencies : ' "hard"'
48- cache : false
49- extra-packages : |
50- any::rcmdcheck
51- any::testthat
52- any::knitr
53- any::rmarkdown
54- needs : check
55-
56- - uses : r-lib/actions/check-r-package@v2
57- with :
58- upload-snapshots : true
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+ #
4+ # NOTE: This workflow only directly installs "hard" dependencies, i.e. Depends,
5+ # Imports, and LinkingTo dependencies. Notably, Suggests dependencies are never
6+ # installed, with the exception of testthat, knitr, and rmarkdown. The cache is
7+ # never used to avoid accidentally restoring a cache containing a suggested
8+ # dependency.
9+ on :
10+ push :
11+ branches : master
12+ pull_request :
13+
14+ name : check-no-suggests.yaml
15+
16+ permissions : read-all
17+
18+ jobs :
19+ check-no-suggests :
20+ runs-on : ${{ matrix.config.os }}
21+
22+ name : ${{ matrix.config.os }} (${{ matrix.config.r }})
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ config :
28+ - {os: ubuntu-latest, r: 'release'}
29+
30+ env :
31+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
32+ R_KEEP_PKG_SOURCE : yes
33+
34+ steps :
35+ - uses : actions/checkout@v4
36+
37+ - uses : r-lib/actions/setup-pandoc@v2
38+
39+ - uses : r-lib/actions/setup-r@v2
40+ with :
41+ r-version : ${{ matrix.config.r }}
42+ http-user-agent : ${{ matrix.config.http-user-agent }}
43+ use-public-rspm : true
44+
45+ - uses : r-lib/actions/setup-r-dependencies@v2
46+ with :
47+ dependencies : ' "hard"'
48+ cache : false
49+ extra-packages : |
50+ any::rcmdcheck
51+ any::testthat
52+ any::knitr
53+ any::rmarkdown
54+ needs : check
55+
56+ - uses : r-lib/actions/check-r-package@v2
57+ with :
58+ upload-snapshots : true
5959 build_args : ' c("--no-manual","--compact-vignettes=gs+qpdf")'
0 commit comments