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
36fe73ae
"include/vscode:/vscode.git/clone" did not exist on "b0137debe6e9cc92b65ec71b0fe8a56ea213c143"
Unverified
Commit
36fe73ae
authored
Jun 05, 2023
by
James Lamb
Committed by
GitHub
Jun 05, 2023
Browse files
[ci] stop relying on cran.microsoft.com in CI jobs (#5909)
parent
ad487fee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
.ci/test_r_package.sh
.ci/test_r_package.sh
+1
-5
No files found.
.ci/test_r_package.sh
View file @
36fe73ae
...
...
@@ -120,12 +120,8 @@ fi
# fix for issue where CRAN was not returning {lattice} when using R 3.6
# "Warning: dependency ‘lattice’ is not available"
#
# refs for that MRAN snapshot:
# * https://cran.r-project.org/web/packages/checkpoint/readme/README.html
# * https://help.codeocean.com/en/articles/3087704-using-mran-snapshots-to-install-archived-r-packages
if
[[
"
${
R_MAJOR_VERSION
}
"
==
"3"
]]
;
then
Rscript
--vanilla
-e
"install.packages('
lattice', repos = 'https://cran.microsoft.com/snapshot/2020-04-23/'
, lib = '
${
R_LIB_PATH
}
')"
Rscript
--vanilla
-e
"install.packages('
https://cran.r-project.org/src/contrib/Archive/lattice/lattice_0.20-41.tar.gz', repos = NULL
, lib = '
${
R_LIB_PATH
}
')"
fi
# Manually install Depends and Imports libraries + 'knitr', 'RhpcBLASctl', 'rmarkdown', 'testthat'
...
...
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