Running ‘testthat.R’ [91s/96s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(caretEnsemble)
  > 
  > test_check("caretEnsemble")
  [ FAIL 10 | WARN 6 | SKIP 31 | PASS 454 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Basic skip failed (1)
  • On CRAN (27)
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-caretStack.R:23'): We can stack regression models ────────────
  `pred.reg <- predict(ens.reg, newdata = X.reg)` did not produce any warnings.
  ── Failure ('test-caretStack.R:75'): Failure to calculate se occurs gracefully ──
  `pred <- predict(ens.reg, X.reg, se = TRUE)` did not produce any warnings.
  ── Failure ('test-caretStack.R:76'): Failure to calculate se occurs gracefully ──
  `expect_is(predict(ens.reg, X.reg, se = TRUE), "data.frame")` did not produce any warnings.
  ── Failure ('test-caretStack.R:128'): Test na.action pass through ──────────────
  `pred.reg <- predict(ens.reg, newdata = X_reg_na, na.action = na.pass)` did not produce any warnings.
  ── Failure ('test-caretStack.R:131'): Test na.action pass through ──────────────
  `pred.reg <- predict(ens.reg, newdata = X_reg_na)` did not produce any warnings.
  ── Failure ('test-ensemble.R:162'): It works for regression models ─────────────
  `pred.regb <- predict(ens.reg, newdata = newPreds1)` did not produce any warnings.
  ── Failure ('test-ensemble.R:163'): It works for regression models ─────────────
  `pred.regc <- predict(ens.reg, newdata = newPreds1[2, ])` did not produce any warnings.
  ── Failure ('test-helper_functions.R:63'): We can predict ──────────────────────
  `out <- predict(models.reg, "reg", newdata = X.reg)` did not produce any warnings.
  ── Failure ('test-helper_functions.R:85'): We can predict ──────────────────────
  `out2 <- predict(models.reg, "Regression", newdata = X.reg)` did not produce any warnings.
  ── Failure ('test-helper_functions.R:91'): predict results same regardless of verbose option ──
  `{ ... }` did not produce any warnings.
  Backtrace:
      ▆
   1. ├─utils::capture.output(...) at test-helper_functions.R:91:2
   2. │ └─base::withVisible(...elt(i))
   3. └─testthat::expect_warning(...) at test-helper_functions.R:99:4
  
  [ FAIL 10 | WARN 6 | SKIP 31 | PASS 454 ]
  Error: Test failures
  Execution halted