From fc5d295dc2a8b437094e18565326667c928a0ec2 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 2 Dec 2024 16:42:39 -0600 Subject: [PATCH] try doing more binary installs upfront --- .ci/download-r-revdeps.R | 2 +- .github/workflows/r_revdepchecks.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/download-r-revdeps.R b/.ci/download-r-revdeps.R index 89ca1cecf597..e9ab7fb41b10 100644 --- a/.ci/download-r-revdeps.R +++ b/.ci/download-r-revdeps.R @@ -4,7 +4,7 @@ loadNamespace("crandep") cat(sprintf("[download-revdeps] %s", msg)) } -PKG_DIR <- "/tmp/packages" +# PKG_DIR <- "/tmp/packages" # get all of lightgbm's reverse dependencies depDF <- crandep::get_dep( diff --git a/.github/workflows/r_revdepchecks.yml b/.github/workflows/r_revdepchecks.yml index 1edb4965735c..c1e747dcf454 100644 --- a/.github/workflows/r_revdepchecks.yml +++ b/.github/workflows/r_revdepchecks.yml @@ -61,7 +61,8 @@ jobs: # is hard-coded to compile them all from source # (https://github.com/wch/r-source/blob/594b842678e932088b16ec0cd3c39714a141eed9/src/library/tools/R/checktools.R#L295) run: | - Rscript --vanilla ./.ci/download-r-revdeps.R + Rscript -e "install.packages('crandep', repos='https://cran.r-project.org')" + Rscript ./.ci/download-r-revdeps.R - name: run revdepchecks run: | bash ./.ci/run-revdep-checks.sh