* using log directory 'd:/Rcompile/CRANpkg/local/4.7/butcher.Rcheck' * using R Under development (unstable) (2026-07-28 r90311 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-07-29 14:34:06 UTC * checking for file 'butcher/DESCRIPTION' ... OK * this is package 'butcher' version '0.4.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'butcher' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [7s] 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'. * checking Rd files ... [2s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [6s] 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]) : :1:22: unexpected ')' 1: binom.kind = NULL) ^ Calls: withAutoprint ... validObject -> anyStrings -> isTRUE -> validityMethod -> parse Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [19s] 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])`: :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])`: :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])`: :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])`: :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])`: :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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [9s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 2 ERRORs, 1 NOTE