CRAN Package Check Results for Package butcher

Last updated on 2025-12-04 19:50:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.6 3.35 117.80 121.15 OK
r-devel-linux-x86_64-debian-gcc 0.3.6 2.40 59.66 62.06 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.6 15.00 132.45 147.45 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.6 26.00 134.35 160.35 ERROR
r-devel-windows-x86_64 0.3.6 5.00 104.00 109.00 ERROR
r-patched-linux-x86_64 0.3.6 5.87 75.66 81.53 ERROR
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 101.00 107.00 ERROR
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 7.00 125.00 132.00 ERROR

Check Details

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 Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

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-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.3.6
Check: tests
Result: ERROR Running ‘testthat.R’ [41s/118s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(butcher) > > test_check("butcher") 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` Saving _problems/test-xrf-12.R Saving _problems/test-xrf-25.R Saving _problems/test-xrf-40.R Saving _problems/test-xrf-58.R [ FAIL 4 | WARN 16 | SKIP 35 | PASS 196 ] ══ Skipped tests (35) ══════════════════════════════════════════════════════════ • On CRAN (34): 'test-c5.R:2:3', 'test-earth.R:2:3', 'test-earth.R:31:3', 'test-elnet.R:2:3', 'test-flexsurvreg.R:2:3', 'test-flexsurvreg.R:15:3', 'test-flexsurvreg.R:43:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3', 'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:17:3', 'test-ksvm.R:2:3', 'test-mda.R:2:3', 'test-mda.R:23:3', 'test-mda.R:95:3', 'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:38:3', 'test-multnet.R:2:3', 'test-nnet.R:2:3', 'test-randomForest.R:2:3', 'test-rpart.R:2:3', 'test-rpart.R:18:3', 'test-sclass.R:2:3', 'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-train.R:2:3', 'test-train.R:42:3', 'test-train.recipe.R:9:3', 'test-ui.R:1:1', 'test-weigh.R:1:1', 'test-xgb.R:6:3', 'test-xgb.R:34:3' • {mixOmics} is not installed (1): 'test-recipe.R:419:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-xrf.R:12:3'): xrf + axe_call() works ───────────────────────── Expected `x$xgb$call` to equal `rlang::expr(dummy_call())`. Differences: `actual` is NULL `expected` is a call ── Error ('test-xrf.R:25:3'): xrf + axe_env() works ──────────────────────────── Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Backtrace: ▆ 1. ├─butcher::axe_env(res) at test-xrf.R:25:3 2. └─butcher:::axe_env.xrf(res) 3. ├─butcher::axe_env(res$xgb, ...) 4. └─butcher:::axe_env.xgb.Booster(res$xgb, ...) ── Error ('test-xrf.R:40:3'): xrf + butcher() works ──────────────────────────── Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Backtrace: ▆ 1. └─butcher::butcher(res) at test-xrf.R:40:3 2. ├─butcher::axe_env(x, verbose = FALSE, ...) 3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...) 4. ├─butcher::axe_env(res$xgb, ...) 5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...) ── Error ('test-xrf.R:58:3'): xrf + predict() works ──────────────────────────── Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Backtrace: ▆ 1. └─butcher::butcher(res) at test-xrf.R:58:3 2. ├─butcher::axe_env(x, verbose = FALSE, ...) 3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...) 4. ├─butcher::axe_env(res$xgb, ...) 5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...) [ FAIL 4 | WARN 16 | SKIP 35 | PASS 196 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.6
Check: tests
Result: ERROR Running ‘testthat.R’ [40s/149s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(butcher) > > test_check("butcher") Saving _problems/test-xrf-12.R Saving _problems/test-xrf-25.R Saving _problems/test-xrf-40.R Saving _problems/test-xrf-58.R [ FAIL 4 | WARN 16 | SKIP 34 | PASS 197 ] ══ Skipped tests (34) ══════════════════════════════════════════════════════════ • On CRAN (34): 'test-c5.R:2:3', 'test-earth.R:2:3', 'test-earth.R:31:3', 'test-elnet.R:2:3', 'test-flexsurvreg.R:2:3', 'test-flexsurvreg.R:15:3', 'test-flexsurvreg.R:43:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3', 'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:17:3', 'test-ksvm.R:2:3', 'test-mda.R:2:3', 'test-mda.R:23:3', 'test-mda.R:95:3', 'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:38:3', 'test-multnet.R:2:3', 'test-nnet.R:2:3', 'test-randomForest.R:2:3', 'test-rpart.R:2:3', 'test-rpart.R:18:3', 'test-sclass.R:2:3', 'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-train.R:2:3', 'test-train.R:42:3', 'test-train.recipe.R:9:3', 'test-ui.R:1:1', 'test-weigh.R:1:1', 'test-xgb.R:6:3', 'test-xgb.R:34:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-xrf.R:12:3'): xrf + axe_call() works ───────────────────────── Expected `x$xgb$call` to equal `rlang::expr(dummy_call())`. Differences: `actual` is NULL `expected` is a call ── Error ('test-xrf.R:25:3'): xrf + axe_env() works ──────────────────────────── Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Backtrace: ▆ 1. ├─butcher::axe_env(res) at test-xrf.R:25:3 2. └─butcher:::axe_env.xrf(res) 3. ├─butcher::axe_env(res$xgb, ...) 4. └─butcher:::axe_env.xgb.Booster(res$xgb, ...) ── Error ('test-xrf.R:40:3'): xrf + butcher() works ──────────────────────────── Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Backtrace: ▆ 1. └─butcher::butcher(res) at test-xrf.R:40:3 2. ├─butcher::axe_env(x, verbose = FALSE, ...) 3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...) 4. ├─butcher::axe_env(res$xgb, ...) 5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...) ── Error ('test-xrf.R:58:3'): xrf + predict() works ──────────────────────────── Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Backtrace: ▆ 1. └─butcher::butcher(res) at test-xrf.R:58:3 2. ├─butcher::axe_env(x, verbose = FALSE, ...) 3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...) 4. ├─butcher::axe_env(res$xgb, ...) 5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...) [ FAIL 4 | WARN 16 | SKIP 34 | PASS 197 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.