Last updated on 2026-10-24 12:51:47 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.3.0 | 38.54 | 157.81 | 196.35 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.3.0 | 31.53 | 100.85 | 132.38 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.3.0 | 31.00 | 108.30 | 139.30 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.3.0 | 34.00 | 101.95 | 135.95 | OK | |
| r-devel-windows-x86_64 | 0.3.0 | 52.00 | 250.00 | 302.00 | OK | |
| r-patched-linux-x86_64 | 0.3.0 | 39.86 | 141.08 | 180.94 | OK | |
| r-release-linux-x86_64 | 0.3.0 | 41.01 | 142.60 | 183.61 | OK | |
| r-release-macos-arm64 | 0.3.0 | 9.00 | 40.00 | 49.00 | OK | |
| r-release-macos-x86_64 | 0.3.0 | 28.00 | 202.00 | 230.00 | OK | |
| r-release-windows-x86_64 | 0.3.0 | 50.00 | 178.00 | 228.00 | OK | |
| r-oldrel-macos-arm64 | 0.3.0 | OK | ||||
| r-oldrel-macos-x86_64 | 0.3.0 | 25.00 | 157.00 | 182.00 | OK | |
| r-oldrel-windows-x86_64 | 0.3.0 | 68.00 | 226.00 | 294.00 | OK |
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [19s/28s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(SensIAT)
>
> test_check("SensIAT")
Saving _problems/test-PCORI_within_group_model-15.R
Saving _problems/test-PCORI_within_group_model-31.R
Saving _problems/test-estimate_baseline_intensity-16.R
Saving _problems/test-influence_term1-72.R
Saving _problems/test-influence_term2-75.R
Saving _problems/test-sim_outcome_modeler-2.R
[ FAIL 6 | WARN 8 | SKIP 4 | PASS 34 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-SensIAT_sim_outcome_modeler_mave.R:26:5',
'test-SensIAT_sim_outcome_modeler_mave.R:60:5',
'test-SensIAT_sim_outcome_modeler_mave.R:113:5'
• empty test (1): 'test-influence_term2-fixed.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-PCORI_within_group_model.R:2:5'): Altering models ──────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map(alpha, for_each_alpha)`: i In index: 1.
Caused by error in `a$specials[[i]]`:
! subscript out of bounds
Backtrace:
▆
1. ├─SensIAT::fit_SensIAT_within_group_model(...) at test-PCORI_within_group_model.R:2:5
2. │ ├─rlang::inject(...)
3. │ └─SensIAT::fit_SensIAT_marginal_mean_model(...)
4. │ └─purrr::map(alpha, for_each_alpha)
5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
6. │ ├─purrr:::with_indexed_errors(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ ├─purrr:::call_with_cleanup(...)
9. │ └─SensIAT (local) .f(.x[[i]], ...)
10. │ ├─SensIAT::compute_influence_terms(...)
11. │ └─SensIAT:::`compute_influence_terms.SensIAT::Single-index-outcome-model`(...)
12. │ └─SensIAT:::estimate_baseline_intensity(...)
13. │ ├─survival::survfit(intensity.model, newdata = construct_baseline_df(intensity.model))
14. │ └─survival:::survfit.coxph(intensity.model, newdata = construct_baseline_df(intensity.model))
15. │ └─survival:::model.matrix.coxph(object, data = mf)
16. │ └─stats::delete.response(object$terms)
17. │ └─stats (local) off(a$specials[[i]])
18. └─purrr (local) `<fn>`(`<sbscOOBE>`)
19. └─cli::cli_abort(...)
20. └─rlang::abort(...)
── Error ('test-PCORI_within_group_model.R:20:5'): including terminal rows for intensity model ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map(alpha, for_each_alpha)`: i In index: 1.
Caused by error in `a$specials[[i]]`:
! subscript out of bounds
Backtrace:
▆
1. ├─SensIAT::fit_SensIAT_within_group_model(...) at test-PCORI_within_group_model.R:20:5
2. │ ├─rlang::inject(...)
3. │ └─SensIAT::fit_SensIAT_marginal_mean_model(...)
4. │ └─purrr::map(alpha, for_each_alpha)
5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
6. │ ├─purrr:::with_indexed_errors(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ ├─purrr:::call_with_cleanup(...)
9. │ └─SensIAT (local) .f(.x[[i]], ...)
10. │ ├─SensIAT::compute_influence_terms(...)
11. │ └─SensIAT:::`compute_influence_terms.SensIAT::Single-index-outcome-model`(...)
12. │ └─SensIAT:::estimate_baseline_intensity(...)
13. │ ├─survival::survfit(intensity.model, newdata = construct_baseline_df(intensity.model))
14. │ └─survival:::survfit.coxph(intensity.model, newdata = construct_baseline_df(intensity.model))
15. │ └─survival:::model.matrix.coxph(object, data = mf)
16. │ └─stats::delete.response(object$terms)
17. │ └─stats (local) off(a$specials[[i]])
18. └─purrr (local) `<fn>`(`<sbscOOBE>`)
19. └─cli::cli_abort(...)
20. └─rlang::abort(...)
── Error ('test-estimate_baseline_intensity.R:15:5'): estimate_baseline_intensity ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─SensIAT:::estimate_baseline_intensity(...) at test-estimate_baseline_intensity.R:15:5
2. ├─survival::survfit(intensity.model, newdata = construct_baseline_df(intensity.model))
3. └─survival:::survfit.coxph(intensity.model, newdata = construct_baseline_df(intensity.model))
4. └─survival:::model.matrix.coxph(object, data = mf)
5. └─stats::delete.response(object$terms)
6. └─stats (local) off(a$specials[[i]])
── Error ('test-influence_term1.R:56:5'): Compute Influence term1 old vs. new methods ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─SensIAT:::compute_influence_for_one_alpha_and_one_patient(...) at test-influence_term1.R:56:5
2. └─SensIAT:::estimate_baseline_intensity(...)
3. ├─survival::survfit(intensity.model, newdata = construct_baseline_df(intensity.model))
4. └─survival:::survfit.coxph(intensity.model, newdata = construct_baseline_df(intensity.model))
5. └─survival:::model.matrix.coxph(object, data = mf)
6. └─stats::delete.response(object$terms)
7. └─stats (local) off(a$specials[[i]])
── Error ('test-influence_term2.R:56:5'): Compute Influence term2 old vs. new methods ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─SensIAT:::compute_influence_for_one_alpha_and_one_patient(...) at test-influence_term2.R:56:5
2. └─SensIAT:::estimate_baseline_intensity(...)
3. ├─survival::survfit(intensity.model, newdata = construct_baseline_df(intensity.model))
4. └─survival:::survfit.coxph(intensity.model, newdata = construct_baseline_df(intensity.model))
5. └─survival:::model.matrix.coxph(object, data = mf)
6. └─stats::delete.response(object$terms)
7. └─stats (local) off(a$specials[[i]])
── Error ('test-sim_outcome_modeler.R:2:5'): outcome model structure ───────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map(alpha, for_each_alpha)`: i In index: 1.
Caused by error in `a$specials[[i]]`:
! subscript out of bounds
Backtrace:
▆
1. ├─base::source(system.file("examples/basic.R", package = "SensIAT")) at test-sim_outcome_modeler.R:2:5
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. ├─SensIAT::fit_SensIAT_within_group_model(...)
6. │ ├─rlang::inject(...)
7. │ └─SensIAT::fit_SensIAT_marginal_mean_model(...)
8. │ └─purrr::map(alpha, for_each_alpha)
9. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
10. │ ├─purrr:::with_indexed_errors(...)
11. │ │ └─base::withCallingHandlers(...)
12. │ ├─purrr:::call_with_cleanup(...)
13. │ └─SensIAT (local) .f(.x[[i]], ...)
14. │ ├─SensIAT::compute_influence_terms(...)
15. │ └─SensIAT:::`compute_influence_terms.SensIAT::Single-index-outcome-model`(...)
16. │ └─SensIAT:::estimate_baseline_intensity(...)
17. │ ├─survival::survfit(intensity.model, newdata = construct_baseline_df(intensity.model))
18. │ └─survival:::survfit.coxph(intensity.model, newdata = construct_baseline_df(intensity.model))
19. │ └─survival:::model.matrix.coxph(object, data = mf)
20. │ └─stats::delete.response(object$terms)
21. │ └─stats (local) off(a$specials[[i]])
22. └─purrr (local) `<fn>`(`<sbscOOBE>`)
23. └─cli::cli_abort(...)
24. └─rlang::abort(...)
[ FAIL 6 | WARN 8 | SKIP 4 | PASS 34 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc