Skip to content

Commit b25d375

Browse files
committed
Update R-CMD-check.yaml
1 parent 869a347 commit b25d375

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
config:
21-
- {os: windows-latest, r: '3.6'}
22-
- {os: windows-latest, r: '4.3'}
21+
- {os: windows-latest, r: 'release'}
2322
- {os: windows-latest, r: 'devel'}
24-
- {os: macOS-latest, r: '3.6'}
25-
- {os: macOS-latest, r: '4.3'}
23+
- {os: macOS-latest, r: 'release'}
2624
- {os: macOS-latest, r: 'devel'}
27-
- {os: ubuntu-latest, r: '3.6', rspm: "https://demo.rstudiopm.com/all/__linux__/jammy/latest"}
28-
- {os: ubuntu-latest, r: '4.3', rspm: "https://demo.rstudiopm.com/all/__linux__/jammy/latest"}
25+
- {os: ubuntu-latest, r: 'release'}
2926

3027
env:
3128
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
@@ -56,7 +53,7 @@ jobs:
5653
needs: check
5754

5855
- name: Query dependencies from r-lib (Linux)
59-
if: "runner.os == 'Linux' && matrix.config.r == '4.3' "
56+
if: "runner.os == 'Linux' && matrix.config.r == 'release' "
6057
uses: r-lib/actions/setup-r-dependencies@v2
6158
with:
6259
extra-packages: any::pkgdown, any::covr, local::.
@@ -92,7 +89,7 @@ jobs:
9289
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
9390

9491
- name: Test coverage
95-
if: "runner.os == 'Linux' && matrix.config.r == '4.3' "
92+
if: "runner.os == 'Linux' && matrix.config.r == 'release' "
9693
run: |
9794
covr::codecov(
9895
quiet = FALSE,
@@ -116,12 +113,12 @@ jobs:
116113
path: ${{ runner.temp }}/package
117114

118115
- name: Build with Pkgdown
119-
if: "runner.os == 'Linux' && matrix.config.r == '4.3' "
116+
if: "runner.os == 'Linux' && matrix.config.r == 'release' "
120117
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
121118
shell: Rscript {0}
122119

123120
- name: Deploy to GitHub pages 🚀
124-
if: "runner.os == 'Linux' && matrix.config.r == '4.3' "
121+
if: "runner.os == 'Linux' && matrix.config.r == 'release' "
125122
uses: JamesIves/github-pages-deploy-action@v4.5.0
126123
with:
127124
clean: false

0 commit comments

Comments
 (0)