CRAN Package Check Results for Package SurvMetrics

Last updated on 2026-10-24 12:51:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.1 7.42 142.48 149.90 OK
r-devel-linux-x86_64-debian-gcc 0.5.1 5.09 69.06 74.15 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.1 100.62 OK
r-devel-linux-x86_64-fedora-gcc 0.5.1 103.87 OK
r-devel-windows-x86_64 0.5.1 11.00 141.00 152.00 OK
r-patched-linux-x86_64 0.5.1 7.34 133.40 140.74 OK
r-release-linux-x86_64 0.5.1 7.11 133.25 140.36 OK
r-release-macos-arm64 0.5.1 2.00 36.00 38.00 OK
r-release-macos-x86_64 0.5.1 5.00 149.00 154.00 OK
r-release-windows-x86_64 0.5.1 10.00 132.00 142.00 OK
r-oldrel-macos-arm64 0.5.1 OK
r-oldrel-macos-x86_64 0.5.1 5.00 142.00 147.00 OK
r-oldrel-windows-x86_64 0.5.1 13.00 196.00 209.00 OK

Check Details

Version: 0.5.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(SurvMetrics) > Sys.setenv("OMP_THREAD_LIMIT" = 1) > test_check("SurvMetrics") randomForestSRC 3.9.0 Type rfsrc.news() to see new features, changes, and bug fixes. Loading required package: prodlim Saving _problems/test-Brier-43.R Saving _problems/test-Cindex-70.R Saving _problems/test-IAEISE-13.R Saving _problems/test-IBS-13.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 38 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-Brier.R:43:3'): Brier ────────────────────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_type(Brier(coxfit, test_data), "double") at test-Brier.R:43:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─SurvMetrics::Brier(coxfit, test_data) 5. ├─pec::predictSurvProb(obj, test_data, t_star0) 6. └─pec:::predictSurvProb.coxph(obj, test_data, t_star0) 7. └─riskRegression::predictCox(...) 8. └─riskRegression::coxVariableName(object, model.frame = object.modelFrame) 9. └─stats::delete.response(...) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test-Cindex.R:70:3'): Cindex ──────────────────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_type(Cindex(coxfit, test_data), "double") at test-Cindex.R:70:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─SurvMetrics::Cindex(coxfit, test_data) 5. ├─pec::predictSurvProb(obj, test_data, t_star0) 6. └─pec:::predictSurvProb.coxph(obj, test_data, t_star0) 7. └─riskRegression::predictCox(...) 8. └─riskRegression::coxVariableName(object, model.frame = object.modelFrame) 9. └─stats::delete.response(...) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test-IAEISE.R:13:3'): IAEISE ──────────────────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─pec::predictSurvProb(coxfit, test_data, distime) at test-IAEISE.R:13:3 2. └─pec:::predictSurvProb.coxph(coxfit, test_data, distime) 3. └─riskRegression::predictCox(...) 4. └─riskRegression::coxVariableName(object, model.frame = object.modelFrame) 5. └─stats::delete.response(...) 6. └─stats (local) off(a$specials[[i]]) ── Error ('test-IBS.R:13:3'): IBS ────────────────────────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─pec::predictSurvProb(coxfit, test_data, distime) at test-IBS.R:13:3 2. └─pec:::predictSurvProb.coxph(coxfit, test_data, distime) 3. └─riskRegression::predictCox(...) 4. └─riskRegression::coxVariableName(object, model.frame = object.modelFrame) 5. └─stats::delete.response(...) 6. └─stats (local) off(a$specials[[i]]) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 38 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc