CRAN Package Check Results for Package BayesSurvive

Last updated on 2026-10-24 01:51:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 107.03 355.71 462.74 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 82.91 212.98 295.89 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 75.00 218.83 293.83 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 83.00 242.01 325.01 OK
r-devel-windows-x86_64 0.1.0 121.00 393.00 514.00 OK
r-patched-linux-x86_64 0.1.0 92.91 374.77 467.68 OK
r-release-linux-x86_64 0.1.0 97.81 357.37 455.18 OK
r-release-macos-arm64 0.1.0 22.00 80.00 102.00 OK
r-release-macos-x86_64 0.1.0 71.00 741.00 812.00 OK
r-release-windows-x86_64 0.1.0 114.00 321.00 435.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 62.00 330.00 392.00 OK
r-oldrel-windows-x86_64 0.1.0 138.00 412.00 550.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [103s/101s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(BayesSurvive) > > test_check("BayesSurvive") Saving _problems/test-general-32.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-general.R:32:1'): (code run outside of `test_that()`) ────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─stats::predict(fit, survObj.new = dataset, times = 8.5, verbose = FALSE) at test-general.R:32:1 2. └─BayesSurvive:::predict.BayesSurvive(...) 3. ├─riskRegression::Score(...) 4. └─riskRegression::Score.list(...) 5. └─riskRegression:::getNullModel(...) 6. └─prodlim::prodlim(nullform, data) 7. └─prodlim::EventHistory.frame(...) 8. └─prodlim::model.design(...) 9. └─stats::delete.response(terms) 10. └─stats (local) off(a$specials[[i]]) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc