CRAN Package Check Results for Package vaccine

Last updated on 2026-10-24 10:52:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.0 8.71 497.09 505.80 OK
r-devel-linux-x86_64-debian-gcc 1.4.0 5.62 61.22 66.84 ERROR
r-devel-linux-x86_64-fedora-clang 1.4.0 310.87 OK
r-devel-linux-x86_64-fedora-gcc 1.4.0 310.30 OK
r-devel-windows-x86_64 1.4.0 11.00 473.00 484.00 OK
r-patched-linux-x86_64 1.4.0 8.87 473.75 482.62 OK
r-release-linux-x86_64 1.4.0 7.50 468.73 476.23 OK
r-release-macos-arm64 1.4.0 1.00 96.00 97.00 OK
r-release-macos-x86_64 1.4.0 5.00 259.00 264.00 OK
r-release-windows-x86_64 1.4.0 11.00 458.00 469.00 OK
r-oldrel-macos-arm64 1.4.0 1.00 98.00 99.00 OK
r-oldrel-macos-x86_64 1.4.0 5.00 281.00 286.00 OK
r-oldrel-windows-x86_64 1.4.0 14.00 662.00 676.00 OK

Check Details

Version: 1.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(vaccine) vaccine (version 1.4.0). Type ?vaccine to get started. > > test_check("vaccine") Saving _problems/test-test-core-functions-145.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 65 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-test-core-functions.R:144:1'): (code run outside of `test_that()`) ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─vaccine::est_med(dat = dat_sample, type = "NP", t_0 = 578, params_np = params_med_np(surv_type = "Cox")) at test-test-core-functions.R:144:1 2. └─vaccine:::construct_Q_n(p$surv_type, dat_v2_rd, vals) 3. └─survival::basehaz(model_srv, centered = F) 4. ├─survival::survfit(fit, se.fit = FALSE) 5. └─survival:::survfit.coxph(fit, se.fit = FALSE) 6. └─survival:::model.matrix.coxph(object, data = mf) 7. └─stats::delete.response(object$terms) 8. └─stats (local) off(a$specials[[i]]) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 65 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.4.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘vaccine.Rmd’ using rmarkdown Quitting from vaccine.Rmd:51-54 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `UseMethod()`: ! no applicable method for 'predict' applied to an object of class "NULL" --- Backtrace: ▆ 1. └─vaccine::est_ce(dat = dat, type = "NP", t_0 = 578) 2. └─vaccine:::est_np(...) 3. └─vaccine:::construct_Q_n(p$surv_type, dat_v2_rd, vals) 4. ├─base::suppressWarnings(do.call(survML::stackG, survML_args)) 5. │ └─base::withCallingHandlers(...) 6. ├─base::do.call(survML::stackG, survML_args) 7. └─survML (local) `<fn>`(...) 8. ├─stats::predict(P_Delta_opt, newX = newX) 9. └─survML:::predict.p_delta_SuperLearner(P_Delta_opt, newX = newX) 10. ├─stats::predict(fit$reg.object, newdata = newX) 11. └─SuperLearner::predict.SuperLearner(fit$reg.object, newdata = newX) 12. ├─base::do.call(...) 13. └─stats::predict(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'vaccine.Rmd' failed with diagnostics: no applicable method for 'predict' applied to an object of class "NULL" --- failed re-building ‘vaccine.Rmd’ SUMMARY: processing the following file failed: ‘vaccine.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc