Unverified Commit 72f5b2f7 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci][R-package] remove CI workaround with manual withr installation (#3878)

* Update test_r_package.sh

* Update r_package.yml

* Update r_package.yml
parent f7168e5d
......@@ -97,11 +97,6 @@ if [[ $OS_NAME == "macos" ]]; then
fi
fi
# hack to fix https://github.com/microsoft/LightGBM/pull/3876#issuecomment-769187766
if [[ $OS_NAME == "macos" ]]; then
Rscript --vanilla -e "install.packages('withr', repos = '${CRAN_MIRROR}', type = 'source', lib = '${R_LIB_PATH}', dependencies = c('Depends', 'Imports', 'LinkingTo'))"
fi
# Manually install Depends and Imports libraries + 'testthat'
# to avoid a CI-time dependency on devtools (for devtools::install_deps())
packages="c('data.table', 'jsonlite', 'Matrix', 'R6', '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