From 72f5b2f70e06daf428e82f15ba73cdcebae63dc5 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Fri, 29 Jan 2021 03:13:26 +0300 Subject: [PATCH] [ci][R-package] remove CI workaround with manual withr installation (#3878) * Update test_r_package.sh * Update r_package.yml * Update r_package.yml --- .ci/test_r_package.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.ci/test_r_package.sh b/.ci/test_r_package.sh index c750ef5f7042..ebbaee38f57e 100755 --- a/.ci/test_r_package.sh +++ b/.ci/test_r_package.sh @@ -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')"