Closed
Description
It'd be nice to get rid of the error messaging from purrr::map2()
here and only get the error about the missing eval_time
argument.
library(censored)
#> Loading required package: parsnip
#> Loading required package: survival
sr_fit <- survival_reg() %>%
fit(Surv(time, status) ~ ., data = lung)
augment(sr_fit, lung)
#> Error in `purrr::map2()`:
#> ℹ In index: 1.
#> ℹ With name: 1.
#> Caused by error in `.f()`:
#> ! argument "eval_time" is missing, with no default
Created on 2023-07-18 by the reprex package (v2.0.1)
Metadata
Metadata
Assignees
Labels
No labels