Unverified Commit 36957ed5 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] upgrade R to 4.1.0 in CI (#4328)

* Update test_r_package_windows.ps1

* Update test_r_package.sh

* Update r_package.yml

* Update r_package.yml
parent b9874b58
...@@ -20,8 +20,8 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then ...@@ -20,8 +20,8 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
export R_LINUX_VERSION="3.6.3-1bionic" export R_LINUX_VERSION="3.6.3-1bionic"
export R_APT_REPO="bionic-cran35/" export R_APT_REPO="bionic-cran35/"
elif [[ "${R_MAJOR_VERSION}" == "4" ]]; then elif [[ "${R_MAJOR_VERSION}" == "4" ]]; then
export R_MAC_VERSION=4.0.5 export R_MAC_VERSION=4.1.0
export R_LINUX_VERSION="4.0.5-1.2004.0" export R_LINUX_VERSION="4.1.0-1.2004.0"
export R_APT_REPO="focal-cran40/" export R_APT_REPO="focal-cran40/"
else else
echo "Unrecognized R version: ${R_VERSION}" echo "Unrecognized R version: ${R_VERSION}"
......
...@@ -65,8 +65,8 @@ if ($env:R_MAJOR_VERSION -eq "3") { ...@@ -65,8 +65,8 @@ if ($env:R_MAJOR_VERSION -eq "3") {
$RTOOLS_INSTALL_PATH = "C:\rtools40" $RTOOLS_INSTALL_PATH = "C:\rtools40"
$env:RTOOLS_BIN = "$RTOOLS_INSTALL_PATH\usr\bin" $env:RTOOLS_BIN = "$RTOOLS_INSTALL_PATH\usr\bin"
$env:RTOOLS_MINGW_BIN = "$RTOOLS_INSTALL_PATH\mingw64\bin" $env:RTOOLS_MINGW_BIN = "$RTOOLS_INSTALL_PATH\mingw64\bin"
$env:RTOOLS_EXE_FILE = "rtools40-x86_64.exe" $env:RTOOLS_EXE_FILE = "rtools40v2-x86_64.exe"
$env:R_WINDOWS_VERSION = "4.0.5" $env:R_WINDOWS_VERSION = "4.1.0"
} else { } else {
Write-Output "[ERROR] Unrecognized R version: $env:R_VERSION" Write-Output "[ERROR] Unrecognized R version: $env:R_VERSION"
Check-Output $false Check-Output $false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment