Skip to content

Commit c4a2085

Browse files
authored
GLCI-only: rtools40 for oldrel-win (R 4.1)
1 parent fda7fd9 commit c4a2085

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,9 @@ test-old-win: ## R-oldrel on Windows
283283
R_VERSION: "$R_OLDREL_VERSION"
284284
before_script:
285285
- *install-r-oldrel-win
286-
- *install-rtools-win
287-
- $ENV:PATH = "C:\R\bin;C:\rtools42\usr\bin;$ENV:PATH"
286+
- curl.exe -s -o ../rtools.exe https://cloud.r-project.org/bin/windows/Rtools/rtools40-x86_64.exe; Start-Process -FilePath ..\rtools.exe -ArgumentList "/VERYSILENT /DIR=C:\rtools40" -NoNewWindow -Wait
287+
## rtools42 doesn't support 32bit so oldrel-win (currently R 4.1) needs rtools40. Can use install-rtools-win again here when oldrel is R 4.2+
288+
- $ENV:PATH = "C:\R\bin;C:\rtools40\usr\bin;$ENV:PATH"
288289
- Rscript.exe -e "source('.ci/ci.R'); install.packages(dcf.dependencies('DESCRIPTION', which='most', exclude=c('knitr','rmarkdown')), quiet=TRUE)" ## exclude= for #5294
289290
- *cp-src-win
290291
- rm.exe -r bus

0 commit comments

Comments
 (0)