Last updated on 2026-10-24 01:51:41 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.8.1 | 18.71 | 277.63 | 296.34 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.8.1 | 13.73 | 191.97 | 205.70 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.8.1 | 17.00 | 214.78 | 231.78 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.8.1 | 14.00 | 186.47 | 200.47 | OK | |
| r-devel-windows-x86_64 | 0.8.1 | 23.00 | 289.00 | 312.00 | OK | |
| r-patched-linux-x86_64 | 0.8.1 | 20.33 | 267.87 | 288.20 | OK | |
| r-release-linux-x86_64 | 0.8.1 | 18.23 | 267.68 | 285.91 | OK | |
| r-release-macos-arm64 | 0.8.1 | 5.00 | 73.00 | 78.00 | OK | |
| r-release-macos-x86_64 | 0.8.1 | 14.00 | 221.00 | 235.00 | OK | |
| r-release-windows-x86_64 | 0.8.1 | 23.00 | 288.00 | 311.00 | OK | |
| r-oldrel-macos-arm64 | 0.8.1 | 5.00 | 65.00 | 70.00 | OK | |
| r-oldrel-macos-x86_64 | 0.8.1 | 14.00 | 210.00 | 224.00 | OK | |
| r-oldrel-windows-x86_64 | 0.8.1 | 29.00 | 376.00 | 405.00 | OK |
Version: 0.8.1
Check: examples
Result: ERROR
Running examples in ‘pammtools-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_terms
> ### Title: Extract the partial effects of univariate smooth model terms
> ### Aliases: get_terms
>
> ### ** Examples
>
> library(survival)
> fit <- coxph(Surv(time, status) ~ pspline(karno) + pspline(age), data=veteran)
> terms_df <- veteran %>% get_terms(fit, terms = c("karno", "age"))
Error in `map()`:
ℹ In index: 1.
Caused by error in `a$specials[[i]]`:
! subscript out of bounds
Backtrace:
▆
1. ├─veteran %>% get_terms(fit, terms = c("karno", "age"))
2. ├─pammtools::get_terms(., fit, terms = c("karno", "age"))
3. │ └─purrr::map_dfr(...)
4. │ └─purrr::map(.x, .f, ...)
5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
6. │ ├─purrr:::with_indexed_errors(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ ├─purrr:::call_with_cleanup(...)
9. │ └─pammtools (local) .f(.x[[i]], ...)
10. │ └─pammtools:::get_term_legacy(data, fit, t, ...)
11. │ ├─stats::predict(fit, newdata = new_df, type = "terms", se.fit = TRUE)
12. │ ├─survival:::predict.coxph.penal(...)
13. │ ├─base::NextMethod("predict", object, ...)
14. │ └─survival:::predict.coxph(...)
15. │ └─stats::delete.response(Terms)
16. │ └─stats (local) off(a$specials[[i]])
17. └─purrr (local) `<fn>`(`<sbscOOBE>`)
18. └─cli::cli_abort(...)
19. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.8.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [79s/105s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "") # see https://github.com/hadley/testthat/issues/86
> library(testthat)
> library(checkmate)
> library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
> library(purrr)
> library(tidyr)
> # library(pammtools)
>
> test_check("pammtools")
Loading required package: pammtools
Attaching package: 'pammtools'
The following object is masked from 'package:stats':
filter
Saving _problems/test-model-evaluation-12.R
Saving _problems/test-predict-functions-91.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 840 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-model-evaluation.R:11:5'): pec helpers work ────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-model-evaluation.R:10:3
2. │ └─base::withCallingHandlers(...)
3. └─pec::pec(...) at test-model-evaluation.R:11:5
4. └─prodlim::prodlim(formula = ProdLimform, data = data)
5. └─prodlim::EventHistory.frame(...)
6. └─prodlim::model.design(...)
7. └─stats::delete.response(terms)
8. └─stats (local) off(a$specials[[i]])
── Error ('test-predict-functions.R:87:3'): get_terms returns tidy partial effects for requested terms ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(.x, .f, ...)`: ℹ In index: 1.
Caused by error in `a$specials[[i]]`:
! subscript out of bounds
Backtrace:
▆
1. ├─pammtools::get_terms(...) at test-predict-functions.R:87:3
2. │ └─purrr::map_dfr(...)
3. │ └─purrr::map(.x, .f, ...)
4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
5. │ ├─purrr:::with_indexed_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─purrr:::call_with_cleanup(...)
8. │ └─pammtools (local) .f(.x[[i]], ...)
9. │ └─pammtools:::get_term_legacy(data, fit, t, ...)
10. │ ├─stats::predict(fit, newdata = new_df, type = "terms", se.fit = TRUE)
11. │ ├─survival:::predict.coxph.penal(...)
12. │ ├─base::NextMethod("predict", object, ...)
13. │ └─survival:::predict.coxph(...)
14. │ └─stats::delete.response(Terms)
15. │ └─stats (local) off(a$specials[[i]])
16. └─purrr (local) `<fn>`(`<sbscOOBE>`)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 840 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc