Last updated on 2026-10-24 15:51:32 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.2 | 7.08 | 365.77 | 372.85 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.2 | 5.19 | 172.48 | 177.67 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.1.2 | 279.68 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.1.2 | 281.83 | OK | |||
| r-devel-windows-x86_64 | 0.1.2 | 10.00 | 523.00 | 533.00 | OK | |
| r-patched-linux-x86_64 | 0.1.2 | 6.71 | 349.51 | 356.22 | OK | |
| r-release-linux-x86_64 | 0.1.2 | 6.39 | 342.65 | 349.04 | OK | |
| r-release-macos-arm64 | 0.1.2 | 2.00 | 110.00 | 112.00 | OK | |
| r-release-macos-x86_64 | 0.1.2 | 5.00 | 431.00 | 436.00 | OK | |
| r-release-windows-x86_64 | 0.1.2 | 9.00 | 527.00 | 536.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.2 | 2.00 | 116.00 | 118.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.2 | 5.00 | 457.00 | 462.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.2 | 13.00 | 590.00 | 603.00 | OK |
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [116s/137s]
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(ipeval)
>
> test_check("ipeval")
# weights: 9 (4 variable)
initial value 1098612.288689
iter 10 value 681212.052959
final value 681057.242243
converged
# weights: 9 (4 variable)
initial value 1098612.288689
iter 10 value 681212.052959
final value 681057.242243
converged
# weights: 9 (4 variable)
initial value 1098612.288689
iter 10 value 681212.052959
final value 681057.242243
converged
# weights: 9 (4 variable)
initial value 1098612.288689
iter 10 value 681212.052959
final value 681057.242243
converged
Saving _problems/test-ip_score-192.R
Saving _problems/test-ip_score-230.R
Saving _problems/test-ip_score-379.R
Saving _problems/test-ip_score-434.R
Saving _problems/test-ip_score-516.R
Saving _problems/test-ip_score-601.R
Saving _problems/test-ip_score-729.R
Saving _problems/test-ip_score-831.R
Saving _problems/test-ip_score-878.R
Saving _problems/test-ipc_weights-10.R
Saving _problems/test-ipc_weights-71.R
Saving _problems/test-ipc_weights-141.R
Saving _problems/test-ipc_weights-208.R
Saving _problems/test-observed_score-26.R
Saving _problems/test-print-26.R
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 77 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ip_score.R:189:3'): survival outcome at fixed timepoint equivalent to binary outcome ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-ip_score.R:189:3
2. │ └─testthat::quasi_label(enquo(expected), expected.label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ipeval::ip_score(model, data, Surv(time, Y), A ~ L, 0, time_horizon = 10)
5. └─ipeval:::get_ipcw(...)
6. └─ipeval:::ipc_weights(...)
7. └─prodlim::prodlim(formula, data = data, reverse = TRUE)
8. └─prodlim::EventHistory.frame(...)
9. └─prodlim::model.design(...)
10. └─stats::delete.response(terms)
11. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:229:3'): iptw/ipcw manual specification equivalent to models ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:229:3
2. └─ipeval:::get_ipcw(...)
3. └─ipeval:::ipc_weights(...)
4. └─prodlim::prodlim(formula, data = data, reverse = TRUE)
5. └─prodlim::EventHistory.frame(...)
6. └─prodlim::model.design(...)
7. └─stats::delete.response(terms)
8. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:369:3'): ip_score metrics equal to unobserved CF metrics, surv, uncensored ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:369:3
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. └─survival::basehaz(model, centered = FALSE)
8. ├─survival::survfit(fit, se.fit = FALSE)
9. └─survival:::survfit.coxph(fit, se.fit = FALSE)
10. └─survival:::model.matrix.coxph(object, data = mf)
11. └─stats::delete.response(object$terms)
12. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:424:3'): ip_score metrics equal to unobserved CF metrics, surv, censor at T ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:424:3
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. └─survival::basehaz(model, centered = FALSE)
8. ├─survival::survfit(fit, se.fit = FALSE)
9. └─survival:::survfit.coxph(fit, se.fit = FALSE)
10. └─survival:::model.matrix.coxph(object, data = mf)
11. └─stats::delete.response(object$terms)
12. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:506:3'): ip_score metrics equal to unobserved CF metrics, surv, KM censor ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:506:3
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. └─survival::basehaz(model, centered = FALSE)
8. ├─survival::survfit(fit, se.fit = FALSE)
9. └─survival:::survfit.coxph(fit, se.fit = FALSE)
10. └─survival:::model.matrix.coxph(object, data = mf)
11. └─stats::delete.response(object$terms)
12. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:591:3'): ip_score metrics equal to unobserved CF metrics, surv, cox censor ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:591:3
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. └─survival::basehaz(model, centered = FALSE)
8. ├─survival::survfit(fit, se.fit = FALSE)
9. └─survival:::survfit.coxph(fit, se.fit = FALSE)
10. └─survival:::model.matrix.coxph(object, data = mf)
11. └─stats::delete.response(object$terms)
12. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:717:3'): results are in between lower & upper bootstrap, surv, cox censor ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:717:3
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. └─survival::basehaz(model, centered = FALSE)
8. ├─survival::survfit(fit, se.fit = FALSE)
9. └─survival:::survfit.coxph(fit, se.fit = FALSE)
10. └─survival:::model.matrix.coxph(object, data = mf)
11. └─stats::delete.response(object$terms)
12. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:820:3'): null model survival outcome ────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:820:3
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. ├─stats::predict(model, newdata = data, type = "lp")
8. └─survival:::predict.coxph(model, newdata = data, type = "lp")
9. └─stats::delete.response(Terms)
10. └─stats (local) off(a$specials[[i]])
── Error ('test-ip_score.R:868:3'): ip_score handles horizon on censor time correctly ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-ip_score.R:868:3
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. └─survival::basehaz(model, centered = FALSE)
8. ├─survival::survfit(fit, se.fit = FALSE)
9. └─survival:::survfit.coxph(fit, se.fit = FALSE)
10. └─survival:::model.matrix.coxph(object, data = mf)
11. └─stats::delete.response(object$terms)
12. └─stats (local) off(a$specials[[i]])
── Error ('test-ipc_weights.R:6:3'): ipc KM simple correct ─────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-ipc_weights.R:6:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ipeval:::ipc_weights(...)
5. └─prodlim::prodlim(formula, data = data, reverse = TRUE)
6. └─prodlim::EventHistory.frame(...)
7. └─prodlim::model.design(...)
8. └─stats::delete.response(terms)
9. └─stats (local) off(a$specials[[i]])
── Error ('test-ipc_weights.R:68:3'): ipc ties ─────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-ipc_weights.R:68:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ipeval:::ipc_weights(...)
5. └─prodlim::prodlim(formula, data = data, reverse = TRUE)
6. └─prodlim::EventHistory.frame(...)
7. └─prodlim::model.design(...)
8. └─stats::delete.response(terms)
9. └─stats (local) off(a$specials[[i]])
── Error ('test-ipc_weights.R:141:5'): ipc-weighted population represents uncensored population,
noninformative censoring ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval:::ipc_weights(...) at test-ipc_weights.R:141:5
2. └─prodlim::prodlim(formula, data = data, reverse = TRUE)
3. └─prodlim::EventHistory.frame(...)
4. └─prodlim::model.design(...)
5. └─stats::delete.response(terms)
6. └─stats (local) off(a$specials[[i]])
── Error ('test-ipc_weights.R:208:5'): ipc-weighted population represents uncensored population,
cox informative censoring ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval:::ipc_weights(...) at test-ipc_weights.R:208:5
2. └─ipeval:::predict_cox(fit, data, pmin(y[, "time"], time_horizon))
3. ├─stats::predict(model, newdata = data, type = "lp")
4. └─survival:::predict.coxph(model, newdata = data, type = "lp")
5. └─stats::delete.response(Terms)
6. └─stats (local) off(a$specials[[i]])
── Error ('test-observed_score.R:24:3'): observed_score works ──────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...)
2. └─ipeval:::get_ipcw(...)
3. └─ipeval:::ipc_weights(...)
4. └─prodlim::prodlim(formula, data = data, reverse = TRUE)
5. └─prodlim::EventHistory.frame(...)
6. └─prodlim::model.design(...)
7. └─stats::delete.response(terms)
8. └─stats (local) off(a$specials[[i]])
── Error ('test-print.R:25:3'): test if assumption output and graphics is correct ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ipeval::ip_score(...) at test-print.R:25:3
2. └─ipeval:::get_ipcw(...)
3. └─ipeval:::ipc_weights(...)
4. └─prodlim::prodlim(formula, data = data, reverse = TRUE)
5. └─prodlim::EventHistory.frame(...)
6. └─prodlim::model.design(...)
7. └─stats::delete.response(terms)
8. └─stats (local) off(a$specials[[i]])
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 77 ]
Deleting unused snapshots: 'print/calibrationplot-correct.svg'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ipeval.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘ipeval.Rmd’
--- re-building ‘time-to-event.Rmd’ using rmarkdown
Quitting from time-to-event.Rmd:107-118 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `a$specials[[i]]`:
! subscript out of bounds
---
Backtrace:
▆
1. └─ipeval::ip_score(...)
2. └─ipeval:::get_predictions(...)
3. └─base::lapply(...)
4. └─ipeval (local) FUN(X[[i]], ...)
5. └─ipeval:::predict_CF(...)
6. └─ipeval:::predict_cox(model, data, time_horizon)
7. └─survival::basehaz(model, centered = FALSE)
8. ├─survival::survfit(fit, se.fit = FALSE)
9. └─survival:::survfit.coxph(fit, se.fit = FALSE)
10. └─survival:::model.matrix.coxph(object, data = mf)
11. └─stats::delete.response(object$terms)
12. └─stats (local) off(a$specials[[i]])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'time-to-event.Rmd' failed with diagnostics:
subscript out of bounds
--- failed re-building ‘time-to-event.Rmd’
SUMMARY: processing the following file failed:
‘time-to-event.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc