Running 'spelling.R' [1s]
  Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(nlfh)
  > 
  > test_check("nlfh")
  Saving _problems/test-core-api-24.R
  Saving _problems/test-core-api-60.R
  Saving _problems/test-core-api-102.R
  Saving _problems/test-core-api-151.R
  Saving _problems/test-core-api-202.R
  Saving _problems/test-formula-interface-33.R
  Saving _problems/test-formula-interface-64.R
  Saving _problems/test-posterior-draws-62.R
  Saving _problems/test-posterior-draws-86.R
  Saving _problems/test-summary-75.R
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 97 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-core-api.R:18:3'): all three methods return nlfh_fit objects with finite DIC ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-core-api.R:18:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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-core-api.R:54:3'): output dimensions are consistent across methods ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-core-api.R:54:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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-core-api.R:93:3'): method dispatch selects the requested model implementation ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-core-api.R:93:3
    2. │ └─testthat::quasi_label(enquo(object))
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─nlfh::fit_fh(...)
    5.   ├─base::do.call(fit_fh_bart, args)
    6.   └─nlfh (local) `<fn>`(...)
    7.     └─dbarts::dbartsControl(...)
    8.       └─methods::new(...)
    9.         ├─methods::initialize(value, ...)
   10.         └─dbarts (local) initialize(value, ...)
   11.           ├─methods::callNextMethod()
   12.           └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   13.             └─methods::validObject(.Object)
   14.               ├─methods (local) anyStrings(validityMethod(object))
   15.               │ └─base::isTRUE(x)
   16.               └─dbarts (local) validityMethod(object)
   17.                 └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-core-api.R:139:3'): method-specific fitting functions are public-facing ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-core-api.R:139:3
    2. │ └─testthat::quasi_label(enquo(object))
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─nlfh::fit_fh_bart(...)
    5.   └─dbarts::dbartsControl(...)
    6.     └─methods::new(...)
    7.       ├─methods::initialize(value, ...)
    8.       └─dbarts (local) initialize(value, ...)
    9.         ├─methods::callNextMethod()
   10.         └─methods (local) .nextMethod(.Object = .Object, ... = ...)
   11.           └─methods::validObject(.Object)
   12.             ├─methods (local) anyStrings(validityMethod(object))
   13.             │ └─base::isTRUE(x)
   14.             └─dbarts (local) validityMethod(object)
   15.               └─base::parse(text = deparse(RNGkind)[-1L])
  ── Error ('test-core-api.R:191:3'): random-effect variance prior controls are accepted for all methods ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-core-api.R:191:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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-formula-interface.R:27:3'): formula interface works for nonlinear methods ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-formula-interface.R:27:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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-formula-interface.R:58:3'): fit_fh dispatches all model families from formula inputs ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-formula-interface.R:58:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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-posterior-draws.R:56:3'): posterior_draws extracts u draws when available ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-posterior-draws.R:56:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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-posterior-draws.R:80:3'): posterior_draws gives helpful errors for unavailable variables ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-posterior-draws.R:80:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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-summary.R:69:3'): summary.nlfh_fit handles BART fits without coefficient summaries ──
  Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
  1:     binom.kind = NULL)
                           ^
  Backtrace:
       ▆
    1. └─nlfh::fit_fh(...) at test-summary.R:69:3
    2.   ├─base::do.call(fit_fh_bart, args)
    3.   └─nlfh (local) `<fn>`(...)
    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 10 | WARN 0 | SKIP 0 | PASS 97 ]
  Error:
  ! Test failures.
  Execution halted