CRAN Package Check Results for Package butcher

Last updated on 2026-10-22 23:56:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 3.62 127.28 130.90 NOTE
r-devel-linux-x86_64-debian-gcc 0.4.0 2.58 90.15 92.73 NOTE
r-devel-linux-x86_64-fedora-clang 0.4.0 86.74 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.0 89.34 ERROR
r-devel-windows-x86_64 0.4.0 7.00 178.00 185.00 NOTE
r-patched-linux-x86_64 0.4.0 4.65 116.87 121.52 OK
r-release-linux-x86_64 0.4.0 3.52 117.71 121.23 OK
r-release-macos-arm64 0.4.0 1.00 36.00 37.00 OK
r-release-macos-x86_64 0.4.0 3.00 138.00 141.00 OK
r-release-windows-x86_64 0.4.0 8.00 150.00 158.00 OK
r-oldrel-macos-arm64 0.4.0 1.00 46.00 47.00 OK
r-oldrel-macos-x86_64 0.4.0 3.00 141.00 144.00 OK
r-oldrel-windows-x86_64 0.4.0 9.00 191.00 200.00 OK

Check Details

Version: 0.4.0
Check: R code for possible problems
Result: NOTE Found calls to structure() using deprecated special names: butcher/tests/testthat/test-multnet.R (.Label: 1) butcher/tests/testthat/test-randomForest.R (.Label: 1) butcher/tests/testthat/test-train.R (.Label: 1) '.Label' should be changed to 'levels'. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/19s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(butcher) > > test_check("butcher") Saving _problems/test-coxph-67.R Saving _problems/test-ipred-74.R Saving _problems/test-ipred-161.R 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` [ FAIL 3 | WARN 0 | SKIP 44 | PASS 202 ] ══ Skipped tests (44) ══════════════════════════════════════════════════════════ • On CRAN (43): '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:18:3', 'test-flexsurvreg.R:56:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3', 'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:16:3', 'test-ksvm.R:2:3', 'test-mda.R:2:3', 'test-mda.R:24:3', 'test-mda.R:98:3', 'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:40:3', 'test-multnet.R:2:3', 'test-new.R:1:1', 'test-nnet.R:2:3', 'test-randomForest.R:2:3', 'test-rpart.R:2:3', 'test-rpart.R:22:3', 'test-rsample.R:1:1', 'test-rsample.R:21:1', 'test-rsample.R:34:1', 'test-rsample.R:55:1', 'test-rsample.R:72:1', 'test-sclass.R:2:3', 'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-tabnet_fit.R:2:3', 'test-tabnet_fit.R:20:3', 'test-tabnet_fit.R:37:3', 'test-train.R:2:3', 'test-train.R:44: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:51:3' • {mixOmics} is not installed (1): 'test-recipe.R:454:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-coxph.R:64:3'): coxph + predict() works ──────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coxph.R:64:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::predict(x, newdata = head(example_data)) 5. └─survival:::predict.coxph(x, newdata = head(example_data)) 6. └─stats::delete.response(Terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-ipred.R:59:3'): ipred + rpart + axing works (survbagg) ───────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─ipred::bagging(...) at test-ipred.R:59:3 2. └─ipred:::bagging.data.frame(...) 3. ├─base::do.call("ipredbagg", c(DATA, list(...))) 4. ├─ipred::ipredbagg(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 5. └─ipred:::ipredbagg.Surv(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 6. └─ipred::sbrier(RET$y, predict(RET)) 7. └─prodlim::prodlim(Surv(time, cens) ~ 1, reverse = TRUE) 8. └─prodlim::EventHistory.frame(...) 9. └─prodlim::model.design(...) 10. └─stats::delete.response(terms) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test-ipred.R:146:3'): ipred + rpart + predict() works (survbagg) ──── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─ipred::bagging(...) at test-ipred.R:146:3 2. └─ipred:::bagging.data.frame(...) 3. ├─base::do.call("ipredbagg", c(DATA, list(...))) 4. ├─ipred::ipredbagg(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 5. └─ipred:::ipredbagg.Surv(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 6. └─ipred::sbrier(RET$y, predict(RET)) 7. └─prodlim::prodlim(Surv(time, cens) ~ 1, reverse = TRUE) 8. └─prodlim::EventHistory.frame(...) 9. └─prodlim::model.design(...) 10. └─stats::delete.response(terms) 11. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 0 | SKIP 44 | PASS 202 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/27s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(butcher) > > test_check("butcher") Saving _problems/test-coxph-67.R Saving _problems/test-ipred-74.R Saving _problems/test-ipred-161.R [ FAIL 3 | WARN 0 | SKIP 43 | PASS 203 ] ══ Skipped tests (43) ══════════════════════════════════════════════════════════ • On CRAN (43): '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:18:3', 'test-flexsurvreg.R:56:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3', 'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:16:3', 'test-ksvm.R:2:3', 'test-mda.R:2:3', 'test-mda.R:24:3', 'test-mda.R:98:3', 'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:40:3', 'test-multnet.R:2:3', 'test-new.R:1:1', 'test-nnet.R:2:3', 'test-randomForest.R:2:3', 'test-rpart.R:2:3', 'test-rpart.R:22:3', 'test-rsample.R:1:1', 'test-rsample.R:21:1', 'test-rsample.R:34:1', 'test-rsample.R:55:1', 'test-rsample.R:72:1', 'test-sclass.R:2:3', 'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-tabnet_fit.R:2:3', 'test-tabnet_fit.R:20:3', 'test-tabnet_fit.R:37:3', 'test-train.R:2:3', 'test-train.R:44: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:51:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-coxph.R:64:3'): coxph + predict() works ──────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coxph.R:64:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::predict(x, newdata = head(example_data)) 5. └─survival:::predict.coxph(x, newdata = head(example_data)) 6. └─stats::delete.response(Terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-ipred.R:59:3'): ipred + rpart + axing works (survbagg) ───────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─ipred::bagging(...) at test-ipred.R:59:3 2. └─ipred:::bagging.data.frame(...) 3. ├─base::do.call("ipredbagg", c(DATA, list(...))) 4. ├─ipred::ipredbagg(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 5. └─ipred:::ipredbagg.Surv(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 6. └─ipred::sbrier(RET$y, predict(RET)) 7. └─prodlim::prodlim(Surv(time, cens) ~ 1, reverse = TRUE) 8. └─prodlim::EventHistory.frame(...) 9. └─prodlim::model.design(...) 10. └─stats::delete.response(terms) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test-ipred.R:146:3'): ipred + rpart + predict() works (survbagg) ──── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─ipred::bagging(...) at test-ipred.R:146:3 2. └─ipred:::bagging.data.frame(...) 3. ├─base::do.call("ipredbagg", c(DATA, list(...))) 4. ├─ipred::ipredbagg(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 5. └─ipred:::ipredbagg.Surv(y = `<Surv>`, X = `<df[,11]>`, coob = TRUE) 6. └─ipred::sbrier(RET$y, predict(RET)) 7. └─prodlim::prodlim(Surv(time, cens) ~ 1, reverse = TRUE) 8. └─prodlim::EventHistory.frame(...) 9. └─prodlim::model.design(...) 10. └─stats::delete.response(terms) 11. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 0 | SKIP 43 | PASS 203 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc