88push :
99branches :[main, master]
1010pull_request :
11- branches :[main, master]
1211
13- name :R-CMD-check
12+ name :R-CMD-check.yaml
13+
14+ permissions :read-all
1415
1516jobs :
1617R-CMD-check :
@@ -23,24 +24,24 @@ jobs:
2324matrix :
2425config :
2526 -{os: macos-latest, r: 'release'}
26- - {os: windows-latest, r: 'devel'}
27- -{os: windows-latest, r: '4.4 '}
28- - {os: windows-latest, r: '4.3'}
29- -{os: windows-latest, r: '4.2'}
30- - {os: windows-latest, r: '4.1'}
31- -{os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
32- -{os: ubuntu-latest, r: 'release'}
33- -{os: ubuntu-latest, r: 'oldrel-1'}
34- -{os: ubuntu-latest, r: 'oldrel-2'}
35- -{os: ubuntu-latest, r: 'oldrel-3'}
36- -{os: ubuntu-latest, r: 'oldrel-4'}
27+
28+ -{os: windows-latest, r: 'release '}
29+ # use 4.0 or 4.1 to check with rtools40's older compiler
30+ -{os: windows-latest, r: 'oldrel-4'}
31+
32+ -{os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
33+ -{os: ubuntu-latest, r: 'release'}
34+ -{os: ubuntu-latest, r: 'oldrel-1'}
35+ -{os: ubuntu-latest, r: 'oldrel-2'}
36+ -{os: ubuntu-latest, r: 'oldrel-3'}
37+ -{os: ubuntu-latest, r: 'oldrel-4'}
3738
3839env :
3940GITHUB_PAT :${{ secrets.GITHUB_TOKEN }}
4041R_KEEP_PKG_SOURCE :yes
4142
4243steps :
43- -uses :actions/checkout@v3
44+ -uses :actions/checkout@v4
4445
4546 -uses :r-lib/actions/setup-pandoc@v2
4647
5859 -uses :r-lib/actions/check-r-package@v2
5960with :
6061upload-snapshots :true
62+ build_args :' c("--no-manual","--compact-vignettes=gs+qpdf")'