Running 'spelling.R' [0s]
  Running 'testthat.R' [61s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(lorax)
  > 
  > test_check("lorax")
  c50 code called exit with value 1
  Saving _problems/test-bart-20.R
  Saving _problems/test-bart-43.R
  Saving _problems/test-bart-64.R
  Saving _problems/test-bart-92.R
  Saving _problems/test-bart-131.R
  Saving _problems/test-bart-166.R
  Saving _problems/test-bart-188.R
  Saving _problems/test-bart-215.R
  Saving _problems/test-bart-250.R
  Saving _problems/test-bart-279.R
  Saving _problems/test-bart-315.R
  Saving _problems/test-bart-343.R
  Saving _problems/test-bart-369.R
  Saving _problems/test-bart-397.R
  Saving _problems/test-bart-430.R
  Saving _problems/test-bart-460.R
  Saving _problems/test-bart-488.R
  Saving _problems/test-bart-516.R
  Saving _problems/test-bart-556.R
  Saving _problems/test-bart-583.R
  Saving _problems/test-bart-605.R
  Saving _problems/test-bart-635.R
  Saving _problems/test-bart-666.R
  Saving _problems/test-bart-687.R
  Saving _problems/test-bart-708.R
  Loading required package: lattice
  [ FAIL 25 | WARN 0 | SKIP 51 | PASS 1404 ]
  
  ══ Skipped tests (51) ══════════════════════════════════════════════════════════
  • On CRAN (49): 'test-C5.0.R:39:1', 'test-C5.0.R:62:1', 'test-C5.0.R:72:1',
    'test-C5.0.R:133:1', 'test-C5.0.R:330:1', 'test-C5.0.R:563:1',
    'test-C5.0.R:902:1', 'test-ObliqueForest.R:17:1',
    'test-ObliqueForest.R:392:1', 'test-extract_rules.R:28:1',
    'test-extract_rules.R:124:1', 'test-grf.R:42:1', 'test-grf.R:522:1',
    'test-grf.R:787:1', 'test-helpers.R:141:1', 'test-helpers.R:158:1',
    'test-helpers.R:177:1', 'test-helpers.R:196:1', 'test-helpers.R:306:1',
    'test-helpers.R:323:1', 'test-helpers.R:347:1', 'test-helpers.R:381:1',
    'test-helpers.R:514:1', 'test-helpers.R:526:1', 'test-helpers.R:542:1',
    'test-helpers.R:554:1', 'test-helpers.R:642:1', 'test-helpers.R:768:1',
    'test-helpers.R:797:1', 'test-helpers.R:809:1',
    'test-helpers_oblique.R:118:1', 'test-helpers_oblique.R:146:1',
    'test-helpers_oblique.R:178:1', 'test-helpers_oblique.R:210:1',
    'test-helpers_oblique.R:232:1', 'test-helpers_party.R:1:1',
    'test-helpers_party.R:57:1', 'test-helpers_rectangular.R:110:1',
    'test-helpers_rectangular.R:142:1', 'test-helpers_rectangular.R:159:1',
    'test-helpers_rectangular.R:171:1', 'test-lgb.Booster.R:76:1',
    'test-lgb.Booster.R:210:1', 'test-lgb.Booster.R:627:1',
    'test-randomForest.R:1:1', 'test-ranger.R:1:1', 'test-xgb.Booster.R:84:1',
    'test-xgb.Booster.R:215:1', 'test-xgb.Booster.R:563:1'
  • Skipping (1): 'test-cforest.R:2:1'
  • TOOOO LONG (1): 'test-party.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-bart.R:7:3'): as.party.bart returns valid party object with numeric data ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:7:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:35:3'): as.party.bart works with regression data ────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:35:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:56:3'): as.party.bart works with factor predictors ──────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:56:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:79:3'): as.party.bart validates tree parameter ──────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:79:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:118:3'): as.party.bart validates chain parameter ────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:118:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:153:3'): as.party.bart requires data parameter ──────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:153:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:177:3'): as.party.bart requires keeptrees = TRUE ────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:177:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:202:3'): as.party.bart extracts different trees ─────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:202:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:242:3'): as.party.bart handles models with missing values in training data ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:242:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:271:3'): as.party.bart handles deep trees ───────────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:271:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:307:3'): as.party.bart preserves variable names ─────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:307:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:335:3'): as.party.bart with minimal trees ───────────────
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:335:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:356:3'): as.party.bart produces different trees for different tree numbers ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:356:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:384:3'): as.party.bart does not show asterisks in node summaries ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:384:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:417:3'): active_predictors.bart() returns correct structure ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:417:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:447:3'): active_predictors.bart() extracts from single tree ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:447:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:475:3'): active_predictors.bart() extracts from multiple trees ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:475:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:503:3'): active_predictors.bart() validates tree argument ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:503:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:545:3'): active_predictors.bart() requires keeptrees = TRUE ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:545:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:570:3'): active_predictors.bart() returns sorted unique variables ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:570:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:597:3'): active_predictors.bart() handles numeric-only predictors ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:597:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:622:3'): active_predictors.bart() works with all trees ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:622:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:653:3'): active_predictors.bart() handles duplicate tree numbers ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:653:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:679:3'): as.party.bart works with single numeric predictor ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:679:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-bart.R:700:3'): active_predictors.bart() works with single numeric predictor ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-bart.R:700:3
    2. │ └─base::withCallingHandlers(...)
    3. └─dbarts::bart(...)
    4.   └─dbarts::dbartsControl(...)
    5.     └─methods::new(...)
    6.       ├─methods::initialize(value, ...)
    7.       └─dbarts (local) initialize(value, ...)
    8.         ├─methods::callNextMethod()
    9.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   10.           └─methods::validObject(.Object)
   11.             ├─methods (local) anyStrings(validityMethod(object))
   12.             │ └─base::isTRUE(x)
   13.             └─dbarts (local) validityMethod(object)
   14.               └─base::parse(text = deparse(RNGkind)[-1L])
  
  [ FAIL 25 | WARN 0 | SKIP 51 | PASS 1404 ]
  Error:
  ! Test failures.
  Execution halted