|
42 | 42 | - uses: r-lib/actions/setup-r-dependencies@v2 |
43 | 43 | with: |
44 | 44 | 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 |
48 | 47 |
|
49 | 48 | - name: Install additional R dependencies |
50 | 49 | run: | |
@@ -75,21 +74,25 @@ jobs: |
75 | 74 | #tools::check_packages_in_dir("./revdepchecks", check_args=c("--no-manual", "--no-vignettes"), Ncpus=3) |
76 | 75 | for (pkg in file.path(getwd(), "revdepchecks", pkg_tar_names)) { |
77 | 76 | print(pkg) |
78 | | - rcmdcheck::rcmdcheck( |
| 77 | + res <- rcmdcheck::rcmdcheck( |
79 | 78 | pkg, |
80 | 79 | 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 | + } |
82 | 85 | } |
83 | 86 |
|
84 | 87 | #res <- tools::check_packages_in_dir_details("revdepchecks/") |
85 | 88 | #saveRDS(res, file = "batch-${{ matrix.batch }}-status.rds") |
86 | 89 | shell: Rscript {0} |
87 | 90 |
|
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 |
93 | 96 |
|
94 | 97 | # combine-results: |
95 | 98 | # runs-on: ubuntu-latest |
|
0 commit comments