Skip to content

Commit

Permalink
[R-package][ci] update to R 4.0.2 for Windows CI jobs (fixes #3191) (#…
Browse files Browse the repository at this point in the history
…3193)

* first attempt

* update to R 4.0.2

* no duplicate builds

* [R-package] [ci] update to R 4.0.2 for Windows CI jobs (fixes #3191)
  • Loading branch information
jameslamb authored Jun 27, 2020
1 parent 2e2757f commit 068a67d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/test_r_package_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if ($env:R_MAJOR_VERSION -eq "3") {
} elseif ($env:R_MAJOR_VERSION -eq "4") {
$env:RTOOLS_MINGW_BIN = "$env:R_LIB_PATH/Rtools/mingw64/bin"
$env:RTOOLS_EXE_FILE = "rtools40-x86_64.exe"
$env:R_WINDOWS_VERSION = "4.0.0"
$env:R_WINDOWS_VERSION = "4.0.2"
} else {
Write-Output "[ERROR] Unrecognized R version: $env:R_VERSION"
Check-Output $false
Expand Down Expand Up @@ -165,7 +165,7 @@ if ($env:COMPILER -ne "MSVC") {
} else {
$env:TMPDIR = $env:USERPROFILE # to avoid warnings about incremental builds inside a temp directory
$INSTALL_LOG_FILE_NAME = "$env:BUILD_SOURCESDIRECTORY\00install_out.txt"
Run-R-Code-Redirect-Stderr "source('build_r.R')" *> $INSTALL_LOG_FILE_NAME ; $install_succeeded = $?
Run-R-Code-Redirect-Stderr "source('build_r.R')" 1> $INSTALL_LOG_FILE_NAME ; $install_succeeded = $?
Write-Output "----- build and install logs -----"
Get-Content -Path "$INSTALL_LOG_FILE_NAME"
Write-Output "----- end of build and install logs -----"
Expand Down

0 comments on commit 068a67d

Please sign in to comment.