Unverified Commit 36fe73ae authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] stop relying on cran.microsoft.com in CI jobs (#5909)

parent ad487fee
......@@ -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'
......
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