Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
87c37bf0
Unverified
Commit
87c37bf0
authored
Mar 03, 2021
by
James Lamb
Committed by
GitHub
Mar 03, 2021
Browse files
[ci] [R-package] upgrade to R 4.0.4 in CI (#4042)
parent
f92aa54f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.ci/test_r_package.sh
.ci/test_r_package.sh
+2
-2
.ci/test_r_package_windows.ps1
.ci/test_r_package_windows.ps1
+1
-1
No files found.
.ci/test_r_package.sh
View file @
87c37bf0
...
...
@@ -27,8 +27,8 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
export
R_LINUX_VERSION
=
"3.6.3-1bionic"
export
R_APT_REPO
=
"bionic-cran35/"
elif
[[
"
${
R_MAJOR_VERSION
}
"
==
"4"
]]
;
then
export
R_MAC_VERSION
=
4.0.
3
export
R_LINUX_VERSION
=
"4.0.
3
-1.1804.0"
export
R_MAC_VERSION
=
4.0.
4
export
R_LINUX_VERSION
=
"4.0.
4
-1.1804.0"
export
R_APT_REPO
=
"bionic-cran40/"
else
echo
"Unrecognized R version:
${
R_VERSION
}
"
...
...
.ci/test_r_package_windows.ps1
View file @
87c37bf0
...
...
@@ -46,7 +46,7 @@ if ($env:R_MAJOR_VERSION -eq "3") {
$
env
:
RTOOLS_BIN
=
"
$RTOOLS_INSTALL_PATH
\usr\bin"
$
env
:
RTOOLS_MINGW_BIN
=
"
$RTOOLS_INSTALL_PATH
\mingw64\bin"
$
env
:
RTOOLS_EXE_FILE
=
"rtools40-x86_64.exe"
$
env
:
R_WINDOWS_VERSION
=
"4.0.
3
"
$
env
:
R_WINDOWS_VERSION
=
"4.0.
4
"
}
else
{
Write-Output
"[ERROR] Unrecognized R version:
$
env
:
R_VERSION
"
Check-Output
$false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment