Skip to content

Commit 727cb1c

Browse files
committed
bump oldest CI to R 4.1, still test oldest pandoc, add rsrv CI
1 parent 12a2d0d commit 727cb1c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- {os: windows-latest, r: 'release'}
2323
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
2424
- {os: ubuntu-latest, r: 'release'}
25-
- {os: ubuntu-latest, r: '4.0.4', pandoc-version: '2.11.4'}
25+
- {os: ubuntu-latest, r: '4.4.2', pandoc-version: '3.2'}
26+
- {os: ubuntu-latest, r: '4.1.0', pandoc-version: '2.11.4'}
2627

2728
env:
2829
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
@@ -31,14 +32,14 @@ jobs:
3132
steps:
3233
- uses: actions/checkout@v4
3334

34-
- name: Setup statsrv pandoc
35-
if: ${{ matrix.config.r == '4.0.4' }}
35+
- name: Setup custom pandoc version
36+
if: ${{ matrix.config.pandoc-version != null }}
3637
uses: r-lib/actions/setup-pandoc@v2
3738
with:
3839
pandoc-version: ${{ matrix.config.pandoc-version }}
3940

40-
- name: Setup default pandoc
41-
if: ${{ matrix.config.r != '4.0.4' }}
41+
- name: Setup default pandoc version
42+
if: ${{ matrix.config.pandoc-version == null }}
4243
uses: r-lib/actions/setup-pandoc@v2
4344

4445
- name: Set up tinytex
@@ -53,15 +54,15 @@ jobs:
5354
5455
- name: Setup recent R
5556
uses: r-lib/actions/setup-r@v2
56-
if: ${{ matrix.config.r != '4.0.4' }}
57+
if: ${{ matrix.config.r != '4.1.0' || matrix.config.r != '4.4.2'}}
5758
with:
5859
r-version: ${{ matrix.config.r }}
5960
http-user-agent: ${{ matrix.config.http-user-agent }}
6061
use-public-rspm: true
6162

62-
- name: Setup R 4.0.4
63+
- name: Setup older R
6364
uses: r-lib/actions/setup-r@v2
64-
if: ${{ matrix.config.r == '4.0.4' }}
65+
if: ${{ matrix.config.r == '4.1.0' || matrix.config.r != '4.4.2'}}
6566
with:
6667
r-version: ${{ matrix.config.r }}
6768
cran: 'https://packagemanager.posit.co/cran/__linux__/noble/2024-04-19'

0 commit comments

Comments
 (0)