CRAN Package Check Results for Package butcher

Last updated on 2025-12-02 01:49:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.6 3.40 116.55 119.95 OK
r-devel-linux-x86_64-debian-gcc 0.3.6 2.03 85.15 87.18 OK
r-devel-linux-x86_64-fedora-clang 0.3.6 OK
r-devel-linux-x86_64-fedora-gcc 0.3.6 14.00 139.26 153.26 ERROR
r-devel-windows-x86_64 0.3.6 9.00 135.00 144.00 OK
r-patched-linux-x86_64 0.3.6 5.93 110.49 116.42 OK
r-release-linux-x86_64 0.3.6 3.30 110.45 113.75 OK
r-release-macos-arm64 0.3.6 OK
r-release-macos-x86_64 0.3.6 3.00 132.00 135.00 OK
r-release-windows-x86_64 0.3.6 6.00 138.00 144.00 OK
r-oldrel-macos-arm64 0.3.6 OK
r-oldrel-macos-x86_64 0.3.6 5.00 143.00 148.00 OK
r-oldrel-windows-x86_64 0.3.6 6.00 178.00 184.00 OK

Check Details

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 Flavor: r-devel-linux-x86_64-fedora-gcc