From 068a67d8e42646b2ff57d613cbd6de31cf970da9 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sat, 27 Jun 2020 07:40:45 -0500 Subject: [PATCH] [R-package][ci] update to R 4.0.2 for Windows CI jobs (fixes #3191) (#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) --- .ci/test_r_package_windows.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/test_r_package_windows.ps1 b/.ci/test_r_package_windows.ps1 index c13ca29f399f..fd5538a1755f 100644 --- a/.ci/test_r_package_windows.ps1 +++ b/.ci/test_r_package_windows.ps1 @@ -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 @@ -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 -----"