CRAN Package Check Results for Package butcher

Last updated on 2026-08-01 01:52:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 3.57 121.19 124.76 NOTE
r-devel-linux-x86_64-debian-gcc 0.4.0 2.45 86.50 88.95 NOTE
r-devel-linux-x86_64-fedora-clang 0.4.0 110.99 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4.0 85.81 NOTE
r-devel-windows-x86_64 0.4.0 6.00 98.00 104.00 ERROR
r-patched-linux-x86_64 0.4.0 4.40 117.65 122.05 OK
r-release-linux-x86_64 0.4.0 3.52 118.38 121.90 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 6.00 151.00 157.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 8.00 200.00 208.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: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp063mor’ ‘~/tmp/scratch/Rtmp0MXQsc’ ‘~/tmp/scratch/Rtmp0efzFC’ ‘~/tmp/scratch/Rtmp1ABzIR’ ‘~/tmp/scratch/Rtmp1eKUwf’ ‘~/tmp/scratch/Rtmp27QOnM’ ‘~/tmp/scratch/Rtmp3j3L7q’ ‘~/tmp/scratch/Rtmp3o2y8F’ ‘~/tmp/scratch/Rtmp3sXiEe’ ‘~/tmp/scratch/Rtmp4EKJbl’ ‘~/tmp/scratch/Rtmp4n9nd8’ ‘~/tmp/scratch/Rtmp5AZoUz’ ‘~/tmp/scratch/Rtmp5a0mrg’ ‘~/tmp/scratch/Rtmp69axUt’ ‘~/tmp/scratch/Rtmp6CrYL5’ ‘~/tmp/scratch/Rtmp6PyMpa’ ‘~/tmp/scratch/Rtmp7266sf’ ‘~/tmp/scratch/Rtmp82NmSu’ ‘~/tmp/scratch/Rtmp93y1WY’ ‘~/tmp/scratch/Rtmp9avlgS’ ‘~/tmp/scratch/Rtmp9wvfx2’ ‘~/tmp/scratch/RtmpA8ct8G’ ‘~/tmp/scratch/RtmpALPvWb’ ‘~/tmp/scratch/RtmpAimWi0’ ‘~/tmp/scratch/RtmpB4HVRh’ ‘~/tmp/scratch/RtmpBfX1Gd’ ‘~/tmp/scratch/RtmpC1x7D1’ ‘~/tmp/scratch/RtmpClMacF’ ‘~/tmp/scratch/RtmpCnZ5zy’ ‘~/tmp/scratch/RtmpD4CsaR’ ‘~/tmp/scratch/RtmpDE40Oa’ ‘~/tmp/scratch/RtmpDcNdfF’ ‘~/tmp/scratch/RtmpDzUenX’ ‘~/tmp/scratch/RtmpEItYlS’ ‘~/tmp/scratch/RtmpEJUQr2’ ‘~/tmp/scratch/RtmpETGJNA’ ‘~/tmp/scratch/RtmpEWHEUw’ ‘~/tmp/scratch/RtmpFUns8v’ ‘~/tmp/scratch/RtmpFscQGl’ ‘~/tmp/scratch/RtmpGTfYz7’ ‘~/tmp/scratch/RtmpH0gDuZ’ ‘~/tmp/scratch/RtmpHGp5ow’ ‘~/tmp/scratch/RtmpHLs30O’ ‘~/tmp/scratch/RtmpHmNSBH’ ‘~/tmp/scratch/RtmpHtqv6d’ ‘~/tmp/scratch/RtmpI4Quzh’ ‘~/tmp/scratch/RtmpIfB6Tl’ ‘~/tmp/scratch/RtmpIloetr’ ‘~/tmp/scratch/RtmpIxceQW’ ‘~/tmp/scratch/RtmpJj69hs’ ‘~/tmp/scratch/RtmpKdMyxL’ ‘~/tmp/scratch/RtmpKoS30I’ ‘~/tmp/scratch/RtmpM4q03Q’ ‘~/tmp/scratch/RtmpMfzpB5’ ‘~/tmp/scratch/RtmpMpgkoh’ ‘~/tmp/scratch/RtmpNgBINJ’ ‘~/tmp/scratch/RtmpNoP5tt’ ‘~/tmp/scratch/RtmpNpsbDn’ ‘~/tmp/scratch/RtmpPQHHuh’ ‘~/tmp/scratch/RtmpQ4sZ6u’ ‘~/tmp/scratch/RtmpQhE97y’ ‘~/tmp/scratch/RtmpRERH2f’ ‘~/tmp/scratch/RtmpS0yF0c’ ‘~/tmp/scratch/RtmpSwaQac’ ‘~/tmp/scratch/RtmpTekFOU’ ‘~/tmp/scratch/RtmpTodlcD’ ‘~/tmp/scratch/RtmpTulppB’ ‘~/tmp/scratch/RtmpUDJk42’ ‘~/tmp/scratch/RtmpUucwq2’ ‘~/tmp/scratch/RtmpUy5qdc’ ‘~/tmp/scratch/RtmpVBXYJy’ ‘~/tmp/scratch/RtmpVZ86Xs’ ‘~/tmp/scratch/RtmpVeCuB9’ ‘~/tmp/scratch/RtmpVn8bS8’ ‘~/tmp/scratch/RtmpW5ltHE’ ‘~/tmp/scratch/RtmpW866gQ’ ‘~/tmp/scratch/RtmpWF4xtP’ ‘~/tmp/scratch/RtmpWu7c9t’ ‘~/tmp/scratch/RtmpXNnfJQ’ ‘~/tmp/scratch/RtmpXbvMvX’ ‘~/tmp/scratch/RtmpYCpDUp’ ‘~/tmp/scratch/RtmpYMTv2Z’ ‘~/tmp/scratch/RtmpYsGPiF’ ‘~/tmp/scratch/RtmpZ3l4QW’ ‘~/tmp/scratch/RtmpZniGDs’ ‘~/tmp/scratch/RtmpaO5QnX’ ‘~/tmp/scratch/Rtmpafg322’ ‘~/tmp/scratch/RtmpbGk0Z6’ ‘~/tmp/scratch/RtmpbL2qRb’ ‘~/tmp/scratch/RtmpcGczsH’ ‘~/tmp/scratch/RtmpcIVzAi’ ‘~/tmp/scratch/RtmpcXxiED’ ‘~/tmp/scratch/Rtmpcbp1zp’ ‘~/tmp/scratch/Rtmpct2HyN’ ‘~/tmp/scratch/RtmpctSuvX’ ‘~/tmp/scratch/RtmpdOUJBN’ ‘~/tmp/scratch/RtmpdOkEKF’ ‘~/tmp/scratch/RtmpdkEi5o’ ‘~/tmp/scratch/Rtmpej0h7Q’ ‘~/tmp/scratch/Rtmpf9SEyo’ ‘~/tmp/scratch/RtmpftNelG’ ‘~/tmp/scratch/RtmpgRZ0ZC’ ‘~/tmp/scratch/Rtmpgv0X53’ ‘~/tmp/scratch/RtmpgvNdI7’ ‘~/tmp/scratch/RtmphS87u5’ ‘~/tmp/scratch/RtmpiQoJHB’ ‘~/tmp/scratch/RtmpiRrn63’ ‘~/tmp/scratch/RtmpiSJ2FP’ ‘~/tmp/scratch/Rtmpj5QdcO’ ‘~/tmp/scratch/RtmpjOIFQG’ ‘~/tmp/scratch/RtmpkK4uvJ’ ‘~/tmp/scratch/RtmpkUp4SP’ ‘~/tmp/scratch/RtmpkWtCKK’ ‘~/tmp/scratch/RtmplI5DYX’ ‘~/tmp/scratch/RtmplIKVOR’ ‘~/tmp/scratch/RtmplSKtGD’ ‘~/tmp/scratch/Rtmpmcxqvs’ ‘~/tmp/scratch/RtmpmvNOZJ’ ‘~/tmp/scratch/Rtmpn6tQHw’ ‘~/tmp/scratch/RtmpnJ8cwI’ ‘~/tmp/scratch/RtmpnruOaN’ ‘~/tmp/scratch/RtmpolY1EU’ ‘~/tmp/scratch/Rtmpq50IXV’ ‘~/tmp/scratch/RtmpqKoqRk’ ‘~/tmp/scratch/RtmpqtOtUg’ ‘~/tmp/scratch/Rtmpr6NOlZ’ ‘~/tmp/scratch/RtmprRiypr’ ‘~/tmp/scratch/Rtmps29kKg’ ‘~/tmp/scratch/RtmpsG7e7c’ ‘~/tmp/scratch/Rtmpt6TfGI’ ‘~/tmp/scratch/RtmptIgejO’ ‘~/tmp/scratch/RtmptSQYoa’ ‘~/tmp/scratch/RtmpuX19mH’ ‘~/tmp/scratch/RtmpuxI1w9’ ‘~/tmp/scratch/Rtmpv2Nz46’ ‘~/tmp/scratch/Rtmpv3EZL7’ ‘~/tmp/scratch/RtmpvGBqxA’ ‘~/tmp/scratch/Rtmpva1Lee’ ‘~/tmp/scratch/Rtmpvs5Fvq’ ‘~/tmp/scratch/RtmpwLrNrp’ ‘~/tmp/scratch/RtmpxO0Uge’ ‘~/tmp/scratch/RtmpxgsgrW’ ‘~/tmp/scratch/Rtmpxn9sbp’ ‘~/tmp/scratch/RtmpyAr5QA’ ‘~/tmp/scratch/RtmpyG7w7Y’ ‘~/tmp/scratch/RtmpyTvCAq’ ‘~/tmp/scratch/RtmpzBTVSy’ ‘~/tmp/scratch/xvfb-run.1RFBeB’ ‘~/tmp/scratch/xvfb-run.2DTNC1’ ‘~/tmp/scratch/xvfb-run.2vJI5M’ ‘~/tmp/scratch/xvfb-run.4M4vBR’ ‘~/tmp/scratch/xvfb-run.4mijbk’ ‘~/tmp/scratch/xvfb-run.6954jg’ ‘~/tmp/scratch/xvfb-run.70RuAz’ ‘~/tmp/scratch/xvfb-run.8lGYnw’ ‘~/tmp/scratch/xvfb-run.AzI7iP’ ‘~/tmp/scratch/xvfb-run.ELNGme’ ‘~/tmp/scratch/xvfb-run.FqN291’ ‘~/tmp/scratch/xvfb-run.HD40hq’ ‘~/tmp/scratch/xvfb-run.HVI2DG’ ‘~/tmp/scratch/xvfb-run.Ju7jWn’ ‘~/tmp/scratch/xvfb-run.K1FWBS’ ‘~/tmp/scratch/xvfb-run.KCv3Lz’ ‘~/tmp/scratch/xvfb-run.KlFwYG’ ‘~/tmp/scratch/xvfb-run.LVV0dH’ ‘~/tmp/scratch/xvfb-run.Nfltlt’ ‘~/tmp/scratch/xvfb-run.OIj3HW’ ‘~/tmp/scratch/xvfb-run.PSkzIV’ ‘~/tmp/scratch/xvfb-run.PaUgjj’ ‘~/tmp/scratch/xvfb-run.RcumxL’ ‘~/tmp/scratch/xvfb-run.SfiaYv’ ‘~/tmp/scratch/xvfb-run.TFAKYR’ ‘~/tmp/scratch/xvfb-run.UTL5y9’ ‘~/tmp/scratch/xvfb-run.VUQAW9’ ‘~/tmp/scratch/xvfb-run.WbBrUc’ ‘~/tmp/scratch/xvfb-run.Wxg6Yl’ ‘~/tmp/scratch/xvfb-run.Y1Q6qj’ ‘~/tmp/scratch/xvfb-run.Y3hHP6’ ‘~/tmp/scratch/xvfb-run.YEYnpC’ ‘~/tmp/scratch/xvfb-run.ZYDjkL’ ‘~/tmp/scratch/xvfb-run.a7YpQ0’ ‘~/tmp/scratch/xvfb-run.cbNYVD’ ‘~/tmp/scratch/xvfb-run.cgFyaa’ ‘~/tmp/scratch/xvfb-run.cwTC3w’ ‘~/tmp/scratch/xvfb-run.d6h8ZH’ ‘~/tmp/scratch/xvfb-run.djj3y8’ ‘~/tmp/scratch/xvfb-run.e25apy’ ‘~/tmp/scratch/xvfb-run.hezudh’ ‘~/tmp/scratch/xvfb-run.kX04xg’ ‘~/tmp/scratch/xvfb-run.oCuT1a’ ‘~/tmp/scratch/xvfb-run.of7L3M’ ‘~/tmp/scratch/xvfb-run.oph1fE’ ‘~/tmp/scratch/xvfb-run.pKEMk9’ ‘~/tmp/scratch/xvfb-run.q6OfIj’ ‘~/tmp/scratch/xvfb-run.qZmOF3’ ‘~/tmp/scratch/xvfb-run.s775RC’ ‘~/tmp/scratch/xvfb-run.uGk3nk’ ‘~/tmp/scratch/xvfb-run.v0SOPZ’ ‘~/tmp/scratch/xvfb-run.vicJpL’ ‘~/tmp/scratch/xvfb-run.vpLLXy’ ‘~/tmp/scratch/xvfb-run.wrqZxq’ ‘~/tmp/scratch/xvfb-run.y7XLev’ ‘~/tmp/scratch/xvfb-run.y90KYG’ ‘~/tmp/scratch/xvfb-run.yAlmza’ ‘~/tmp/scratch/xvfb-run.zSTFIv’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.0
Check: examples
Result: ERROR Running examples in 'butcher-Ex.R' failed The error most likely occurred in: > ### Name: axe-bart > ### Title: Axing a bart model. > ### Aliases: axe-bart axe_call.bart axe_fitted.bart > > ### ** Examples > > ## Don't show: > if (rlang::is_installed("dbarts")) withAutoprint({ # examplesIf + ## End(Don't show) + library(dbarts) + x <- dbarts::bart(mtcars[,2:5], mtcars[,1], verbose = FALSE, keeptrees = TRUE) + res <- butcher(x, verbose = TRUE) + ## Don't show: + }) # examplesIf > library(dbarts) > x <- dbarts::bart(mtcars[, 2:5], mtcars[, 1], verbose = FALSE, keeptrees = TRUE) Error in parse(text = deparse(RNGkind)[-1L]) : <text>:1:22: unexpected ')' 1: binom.kind = NULL) ^ Calls: withAutoprint ... validObject -> anyStrings -> isTRUE -> validityMethod -> parse Execution halted Flavor: r-devel-windows-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running 'testthat.R' [18s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(butcher) > > test_check("butcher") Saving _problems/test-bart-5.R Saving _problems/test-bart-16.R Saving _problems/test-bart-26.R Saving _problems/test-bart-39.R Saving _problems/test-bart-55.R 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` [ FAIL 5 | WARN 0 | SKIP 44 | PASS 198 ] ══ 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-bart.R:5:3'): dbarts + axe_call() works ──────────────────────── Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')' 1: binom.kind = NULL) ^ Backtrace: ▆ 1. └─dbarts::bart(mtcars[, 2:5], mtcars[, 1], verbose = FALSE) at test-bart.R:5:3 2. └─dbarts::dbartsControl(...) 3. └─methods::new(...) 4. ├─methods::initialize(value, ...) 5. └─dbarts (local) initialize(value, ...) 6. ├─methods::callNextMethod() 7. └─methods (local) .nextMethod(.Object = .Object, ... = ...) 8. └─methods::validObject(.Object) 9. ├─methods (local) anyStrings(validityMethod(object)) 10. │ └─base::isTRUE(x) 11. └─dbarts (local) validityMethod(object) 12. └─base::parse(text = deparse(RNGkind)[-1L]) ── Error ('test-bart.R:11:3'): dbarts + axe_fitted() works ───────────────────── Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')' 1: binom.kind = NULL) ^ Backtrace: ▆ 1. └─dbarts::bart(mtcars[, 2:5], mtcars[, 1], mtcars[1:5, 2:5], verbose = FALSE) at test-bart.R:11:3 2. └─dbarts::dbartsControl(...) 3. └─methods::new(...) 4. ├─methods::initialize(value, ...) 5. └─dbarts (local) initialize(value, ...) 6. ├─methods::callNextMethod() 7. └─methods (local) .nextMethod(.Object = .Object, ... = ...) 8. └─methods::validObject(.Object) 9. ├─methods (local) anyStrings(validityMethod(object)) 10. │ └─base::isTRUE(x) 11. └─dbarts (local) validityMethod(object) 12. └─base::parse(text = deparse(RNGkind)[-1L]) ── Error ('test-bart.R:26:3'): dbarts + butcher() works ──────────────────────── Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')' 1: binom.kind = NULL) ^ Backtrace: ▆ 1. └─dbarts::bart(mtcars[, 2:5], mtcars[, 1], verbose = FALSE) at test-bart.R:26:3 2. └─dbarts::dbartsControl(...) 3. └─methods::new(...) 4. ├─methods::initialize(value, ...) 5. └─dbarts (local) initialize(value, ...) 6. ├─methods::callNextMethod() 7. └─methods (local) .nextMethod(.Object = .Object, ... = ...) 8. └─methods::validObject(.Object) 9. ├─methods (local) anyStrings(validityMethod(object)) 10. │ └─base::isTRUE(x) 11. └─dbarts (local) validityMethod(object) 12. └─base::parse(text = deparse(RNGkind)[-1L]) ── Error ('test-bart.R:34:3'): dbarts + predict() works ──────────────────────── Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')' 1: binom.kind = NULL) ^ Backtrace: ▆ 1. └─dbarts::bart(mtcars[, 2:5], mtcars[, 1], verbose = FALSE, keeptrees = TRUE) at test-bart.R:34:3 2. └─dbarts::dbartsControl(...) 3. └─methods::new(...) 4. ├─methods::initialize(value, ...) 5. └─dbarts (local) initialize(value, ...) 6. ├─methods::callNextMethod() 7. └─methods (local) .nextMethod(.Object = .Object, ... = ...) 8. └─methods::validObject(.Object) 9. ├─methods (local) anyStrings(validityMethod(object)) 10. │ └─base::isTRUE(x) 11. └─dbarts (local) validityMethod(object) 12. └─base::parse(text = deparse(RNGkind)[-1L]) ── Error ('test-bart.R:55:3'): bart() from parsnip + predict() works ─────────── Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')' 1: binom.kind = NULL) ^ Backtrace: ▆ 1. ├─generics::fit(spec, mpg ~ ., mtcars) at test-bart.R:55:3 2. ├─parsnip::fit.model_spec(spec, mpg ~ ., mtcars) 3. │ └─parsnip:::form_xy(...) 4. │ └─parsnip:::xy_xy(...) 5. │ └─parsnip:::eval_mod(...) 6. │ └─rlang::eval_tidy(e, env = envir, ...) 7. └─dbarts::bart(...) 8. └─dbarts::dbartsControl(...) 9. └─methods::new(...) 10. ├─methods::initialize(value, ...) 11. └─dbarts (local) initialize(value, ...) 12. ├─methods::callNextMethod() 13. └─methods (local) .nextMethod(.Object = .Object, ... = ...) 14. └─methods::validObject(.Object) 15. ├─methods (local) anyStrings(validityMethod(object)) 16. │ └─base::isTRUE(x) 17. └─dbarts (local) validityMethod(object) 18. └─base::parse(text = deparse(RNGkind)[-1L]) [ FAIL 5 | WARN 0 | SKIP 44 | PASS 198 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64