Skip to content

Commit 5beed01

Browse files
ci: Add Tweak for Windows R 4.1 (#6621)
1 parent 381d9bd commit 5beed01

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,21 @@ jobs:
5858
http-user-agent: ${{ matrix.config.http-user-agent }}
5959
use-public-rspm: true
6060

61+
# TODO: remove this when R 4.6 is released
62+
- name: Tweak for old Windows (R 4.1)
63+
uses: r-lib/actions/setup-r-dependencies@v2
64+
if: ${{ matrix.config.os == 'windows-latest' && matrix.config.r == 'oldrel-4' }}
65+
with:
66+
cache-version: 3
67+
extra-packages: >
68+
any::rcmdcheck,
69+
70+
Hmisc=?ignore-before-r=4.2.0,
71+
quantreg=?ignore-before-r=4.3.0
72+
needs: check
73+
6174
- uses: r-lib/actions/setup-r-dependencies@v2
75+
if: ${{ matrix.config.os != 'windows-latest' || matrix.config.r != 'oldrel-4' }}
6276
with:
6377
cache-version: 3
6478
extra-packages: >

0 commit comments

Comments
 (0)