CRAN Package Check Results for Package butcher

Last updated on 2025-12-11 07:49:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.6 3.45 82.87 86.32 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.0 2.55 87.57 90.12 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 17.00 193.90 210.90 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 21.00 212.54 233.54 OK
r-devel-windows-x86_64 0.4.0 11.00 149.00 160.00 OK
r-patched-linux-x86_64 0.4.0 5.88 114.79 120.67 OK
r-release-linux-x86_64 0.3.6 3.34 76.92 80.26 ERROR
r-release-macos-arm64 0.4.0 1.00 46.00 47.00 OK
r-release-macos-x86_64 0.4.0 3.00 141.00 144.00 OK
r-release-windows-x86_64 0.3.6 6.00 101.00 107.00 ERROR
r-oldrel-macos-arm64 0.4.0 1.00 50.00 51.00 OK
r-oldrel-macos-x86_64 0.4.0 3.00 142.00 145.00 OK
r-oldrel-windows-x86_64 0.3.6 6.00 129.00 135.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 Examples with CPU (user + system) or elapsed time > 5s user system elapsed axe-C5.0 4.209 0.318 5.858 Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.6
Check: tests
Result: ERROR Running ‘testthat.R’ [22s/26s] 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 0 | 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 0 | SKIP 35 | PASS 196 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

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 Examples with CPU (user + system) or elapsed time > 5s user system elapsed axe-C5.0 4.408 0.271 6.37 Flavor: r-release-linux-x86_64

Version: 0.3.6
Check: tests
Result: ERROR Running ‘testthat.R’ [21s/29s] 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 0 | 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 0 | SKIP 35 | PASS 196 ] Error: ! Test failures. Execution halted Flavor: r-release-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-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.3.6
Check: tests
Result: ERROR Running 'testthat.R' [28s] 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 0 | 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 0 | SKIP 35 | PASS 196 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

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.
Health stats visible at Monitor.