Skip to content

Commit

Permalink
[ci][R-package] remove CI workaround with manual withr installation (#…
Browse files Browse the repository at this point in the history
…3878)

* Update test_r_package.sh

* Update r_package.yml

* Update r_package.yml
  • Loading branch information
StrikerRUS authored Jan 29, 2021
1 parent f7168e5 commit 72f5b2f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down

0 comments on commit 72f5b2f

Please sign in to comment.