Running 'testthat.R' [49s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(funcml)
  > 
  > test_check("funcml")
  Saving _problems/test-core-283.R
  Saving _problems/test-learner-audit-contract-223.R
  Saving _problems/test-learner-audit-contract-268.R
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 246 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-core.R:283:3'): bart supports regression and binary classification probabilities ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─funcml::fit(...) at test-core.R:283:3
    2.   └─adapter$fit_xy(...)
    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])
  ── Failure ('test-learner-audit-contract.R:223:3'): advertised learner raw and probability contracts hold package-wide ──
  Expected `length(failures)` to equal 0L.
  Differences:
    `actual`: 2
  `expected`: 0
  
  bart/regression: fit failed: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  bart/binary_classification: fit failed: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  ── Failure ('test-learner-audit-contract.R:268:3'): interpretability contract holds for supported learner paths ──
  Expected `length(failures)` to equal 0L.
  Differences:
    `actual`: 2
  `expected`: 0
  
  bart/regression: fit failed before interpret checks: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  bart/binary_classification: fit failed before interpret checks: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 246 ]
  Error:
  ! Test failures.
  Execution halted