Skip to content

Commit 36fe73a

Browse files
authored
[ci] stop relying on cran.microsoft.com in CI jobs (#5909)
1 parent ad487fe commit 36fe73a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.ci/test_r_package.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,8 @@ fi
120120

121121
# fix for issue where CRAN was not returning {lattice} when using R 3.6
122122
# "Warning: dependency ‘lattice’ is not available"
123-
#
124-
# refs for that MRAN snapshot:
125-
# * https://cran.r-project.org/web/packages/checkpoint/readme/README.html
126-
# * https://help.codeocean.com/en/articles/3087704-using-mran-snapshots-to-install-archived-r-packages
127123
if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
128-
Rscript --vanilla -e "install.packages('lattice', repos = 'https://cran.microsoft.com/snapshot/2020-04-23/', lib = '${R_LIB_PATH}')"
124+
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}')"
129125
fi
130126

131127
# Manually install Depends and Imports libraries + 'knitr', 'RhpcBLASctl', 'rmarkdown', 'testthat'

0 commit comments

Comments
 (0)