Last updated on 2025-12-03 05:50:49 CET.
| Package | ERROR | OK |
|---|---|---|
| bundle | 13 | |
| butcher | 4 | 9 |
| cereal | 13 | |
| pins | 13 | |
| vetiver | 13 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 4, OK: 9
Version: 0.3.6
Check: examples
Result: ERROR
Running examples in ‘butcher-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: axe-flexsurvreg
> ### Title: Axing an flexsurvreg.
> ### Aliases: axe-flexsurvreg axe_call.flexsurvreg axe_env.flexsurvreg
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("flexsurv")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Load libraries
+ library(parsnip)
+ library(flexsurv)
+
+ # Create model and fit
+ flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>%
+ fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
+
+ out <- butcher(flexsurvreg_fit, verbose = TRUE)
+
+ # Another flexsurvreg model object
+ wrapped_flexsurvreg <- function() {
+ some_junk_in_environment <- runif(1e6)
+ fit <- flexsurvreg(Surv(futime, fustat) ~ 1,
+ data = ovarian, dist = "weibull")
+ return(fit)
+ }
+
+ out <- butcher(wrapped_flexsurvreg(), verbose = TRUE)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(flexsurv)
Loading required package: survival
> flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>% fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
Error:
! `surv_reg()` was deprecated in parsnip 1.4.0 and is now defunct.
ℹ Please use `survival_reg()` instead.
Backtrace:
▆
1. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. ├─... %>% ...
7. ├─generics::fit(., Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
8. ├─parsnip::set_engine(., "flexsurv")
9. └─parsnip::surv_reg(mode = "regression", dist = "gengamma")
10. └─lifecycle::deprecate_stop("1.4.0", "surv_reg()", "survival_reg()")
11. └─lifecycle:::deprecate_stop0(msg)
12. └─rlang::cnd_signal(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.3.6
Check: examples
Result: ERROR
Running examples in ‘butcher-Ex.R’ failed
The error most likely occurred in:
> ### Name: axe-flexsurvreg
> ### Title: Axing an flexsurvreg.
> ### Aliases: axe-flexsurvreg axe_call.flexsurvreg axe_env.flexsurvreg
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("flexsurv")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Load libraries
+ library(parsnip)
+ library(flexsurv)
+
+ # Create model and fit
+ flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>%
+ fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
+
+ out <- butcher(flexsurvreg_fit, verbose = TRUE)
+
+ # Another flexsurvreg model object
+ wrapped_flexsurvreg <- function() {
+ some_junk_in_environment <- runif(1e6)
+ fit <- flexsurvreg(Surv(futime, fustat) ~ 1,
+ data = ovarian, dist = "weibull")
+ return(fit)
+ }
+
+ out <- butcher(wrapped_flexsurvreg(), verbose = TRUE)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(flexsurv)
Loading required package: survival
> flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>% fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
Error:
! `surv_reg()` was deprecated in parsnip 1.4.0 and is now defunct.
ℹ Please use `survival_reg()` instead.
Backtrace:
▆
1. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. ├─... %>% ...
7. ├─generics::fit(., Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
8. ├─parsnip::set_engine(., "flexsurv")
9. └─parsnip::surv_reg(mode = "regression", dist = "gengamma")
10. └─lifecycle::deprecate_stop("1.4.0", "surv_reg()", "survival_reg()")
11. └─lifecycle:::deprecate_stop0(msg)
12. └─rlang::cnd_signal(...)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13