Skip to content

Commit be7dc07

Browse files
committed
alt2
1 parent 2d8bdc7 commit be7dc07

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/reverse-dependencies.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ jobs:
4242
- uses: r-lib/actions/setup-r-dependencies@v2
4343
with:
4444
extra-packages:
45-
local::. github::ecmerkle/blavsam
46-
github::stan-dev/cmdstanr github::CraigWangStat/eggCountsExtra
47-
github::bbolker/glmmadmb
45+
local::. github::ecmerkle/blavsam github::stan-dev/cmdstanr github::CraigWangStat/eggCountsExtra github::bbolker/glmmadmb
46+
SparseChol rstanarm
4847

4948
- name: Install additional R dependencies
5049
run: |
@@ -75,21 +74,25 @@ jobs:
7574
#tools::check_packages_in_dir("./revdepchecks", check_args=c("--no-manual", "--no-vignettes"), Ncpus=3)
7675
for (pkg in file.path(getwd(), "revdepchecks", pkg_tar_names)) {
7776
print(pkg)
78-
rcmdcheck::rcmdcheck(
77+
res <- rcmdcheck::rcmdcheck(
7978
pkg,
8079
args=c("--as-cran","--no-manual"),
81-
env=c("_R_CHECK_CRAN_INCOMING_"="false", "_R_CHECK_DONTTEST_EXAMPLES_"="false"))
80+
env=c("_R_CHECK_CRAN_INCOMING_"="false", "_R_CHECK_DONTTEST_EXAMPLES_"="false")
81+
)
82+
if (length(res$errors) > 0) {
83+
stop(res$errors)
84+
}
8285
}
8386
8487
#res <- tools::check_packages_in_dir_details("revdepchecks/")
8588
#saveRDS(res, file = "batch-${{ matrix.batch }}-status.rds")
8689
shell: Rscript {0}
8790

88-
- name: Upload reverse dependency check results
89-
uses: actions/upload-artifact@v4
90-
with:
91-
name: revdep-batch-${{ matrix.batch }}
92-
path: batch-${{ matrix.batch }}-status.rds
91+
# - name: Upload reverse dependency check results
92+
# uses: actions/upload-artifact@v4
93+
# with:
94+
# name: revdep-batch-${{ matrix.batch }}
95+
# path: batch-${{ matrix.batch }}-status.rds
9396

9497
# combine-results:
9598
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)