Running ‘testthat.R’ [26s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fable)
  Loading required package: fabletools
  > 
  > test_check("fable")
  ── 1. Error: Manual ETS selection (@test-ets.R#44)  ────────────────────────────
  `vars` must be a character vector.
  Backtrace:
    9. generics::generate(., USAccDeaths_tbl)
   11. fabletools:::map2(...)
   12. base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
   14. fabletools:::generate.mdl_ts(...)
    5. fabletools:::map(...)
   13. fabletools:::invoke("rbind", .)
   26. tsibble:::rbind(deparse.level, ...)
   27. tsibble:::retain_tsibble(x, key(data), index(data))
   28. tsibble:::duplicated_key_index(data, key, index)
   29. dplyr::grouped_df(as_tibble(data), key)
  
  ── 2. Error: Automatic NNETAR selection (@test-nnetar.R#13)  ───────────────────
  `vars` must be a character vector.
  Backtrace:
    9. generics::generate(., h = 10, times = 5)
   11. fabletools:::map2(...)
   12. base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
   14. fabletools:::generate.mdl_ts(...)
    5. fabletools:::map(...)
   13. fabletools:::invoke("rbind", .)
   26. tsibble:::rbind(deparse.level, ...)
   27. tsibble:::retain_tsibble(x, key(data), index(data))
   28. tsibble:::duplicated_key_index(data, key, index)
   29. dplyr::grouped_df(as_tibble(data), key)
  
  ── 3. Error: SNAIVE (@test-rw.R#105)  ──────────────────────────────────────────
  no applicable method for 'model' applied to an object of class "c('tbl_df', 'tbl', 'data.frame')"
  Backtrace:
    1. testthat::expect_warning(...)
    2. tsibbledata::vic_elec
    2. tsibble::index_by(., date = as.Date(Time))
    2. dplyr::summarise(., demand = mean(Demand))
   10. fabletools::model(., SNAIVE(demand ~ lag("year")))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 90 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: Manual ETS selection (@test-ets.R#44) 
  2. Error: Automatic NNETAR selection (@test-nnetar.R#13) 
  3. Error: SNAIVE (@test-rw.R#105) 
  
  Error: testthat unit tests failed
  Execution halted