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
8a07ed2d
Unverified
Commit
8a07ed2d
authored
Aug 26, 2021
by
James Lamb
Committed by
GitHub
Aug 26, 2021
Browse files
[ci] upgrade R to 4.1.1 (#4560)
* [ci] upgrade R to 4.1.1 * try moving miktex errors
parent
13fa6d95
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-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
+2
-1
No files found.
.ci/test_r_package.sh
View file @
8a07ed2d
...
...
@@ -20,8 +20,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.1.
0
export
R_LINUX_VERSION
=
"4.1.
0
-1.2004.0"
export
R_MAC_VERSION
=
4.1.
1
export
R_LINUX_VERSION
=
"4.1.
1
-1.2004.0"
export
R_APT_REPO
=
"focal-cran40/"
else
echo
"Unrecognized R version:
${
R_VERSION
}
"
...
...
.ci/test_r_package_windows.ps1
View file @
8a07ed2d
...
...
@@ -78,7 +78,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
=
"rtools40v2-x86_64.exe"
$
env
:
R_WINDOWS_VERSION
=
"4.1.
0
"
$
env
:
R_WINDOWS_VERSION
=
"4.1.
1
"
}
else
{
Write-Output
"[ERROR] Unrecognized R version:
$
env
:
R_VERSION
"
Check-Output
$false
...
...
@@ -90,6 +90,7 @@ $env:PATH = "$env:RTOOLS_BIN;" + "$env:RTOOLS_MINGW_BIN;" + "$env:R_LIB_PATH/R/b
$
env
:
CRAN_MIRROR
=
"https://cloud.r-project.org/"
$
env
:
CTAN_MIRROR
=
"https://ctan.math.illinois.edu/systems/win32/miktex"
$
env
:
CTAN_PACKAGE_ARCHIVE
=
"
$
env
:
CTAN_MIRROR
/tm/packages/"
$
env
:
MIKTEX_EXCEPTION_PATH
=
"
$
env
:
TEMP
\miktex"
# don't fail builds for long-running examples unless they're very long.
# See https://github.com/microsoft/LightGBM/issues/4049#issuecomment-793412254.
...
...
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