Running 'testthat.R' [46s/43s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > if (require(testthat, quietly = TRUE)) {
  +   require(bartCause)
  +   test_check("bartCause")
  + } else {
  +   cat("package 'testthat' not available; cannot run unit tests\n")
  + }
  Loading required package: bartCause
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  -- 1. Failure: bart w/TMLE matches old (@test-06-regression.R#38)  -------------
  fitted(fit, "pate") not equal to 0.460325271945704.
  1/1 mismatches
  [1] 0.471 - 0.46 == 0.0107
  
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  predicting without saved tress
  == testthat results  ===========================================================
  [ OK: 228 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Failure: bart w/TMLE matches old (@test-06-regression.R#38) 
  
  Error: testthat unit tests failed
  Execution halted