Running ‘testthat.R’ [31s/42s]
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)  ────────────────────────────
  `levels.yearmonth()` not supported.
  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. base::rbind(deparse.level, ...)
   28. vctrs:::levels.vctrs_vctr(xj)
   29. vctrs:::stop_unsupported(x, "levels")
   30. vctrs:::stop_vctrs(...)
  
  ── 4. Error: (unknown) (@test-nnetar.R#4)  ─────────────────────────────────────
  Internal error: Trace data is not square.
  Backtrace:
    1. testthat::test_check("fable")
    2. testthat:::test_package_dir(...)
    3. testthat::test_dir(...)
    4. testthat:::test_files(...)
   10. base::lapply(...)
   11. testthat:::FUN(X[[i]], ...)
   17. testthat::source_file(...)
   18. testthat:::test_code(NULL, exprs, env)
   27. [ base::eval(...) ] with 1 more call
   29. testthat::test_that(...)
       ...
   40. testthat:::o_apply(...)
   41. base::lapply(objects, function(x) x[[method]](...))
   42. testthat:::FUN(X[[i]], ...)
   43. x[[method]](...)
   47. testthat:::failure_summary(result, self$n_fail)
   50. testthat:::format.expectation(x)
   51. testthat:::format_with_trace(x)
   53. rlang:::format.rlang_trace(...)
   54. rlang:::trace_format_branch(x, max_frames, dir, srcrefs)
   55. rlang:::branch_uncollapse_pipe(trace)
  
  ── 5. Error: RW w/ drift (@test-rw.R#45)  ──────────────────────────────────────
  Can't determine index and please specify argument `index`.
  Backtrace:
    1. testthat::expect_equivalent(...)
    5. fabletools:::hilo.fbl_ts(fable_fc)
   11. dplyr::transmute(...)
   21. fabletools:::mutate.fbl_ts(.data, ..., .keep = "none")
   23. fabletools:::as_fable.tbl_df(...)
   26. tsibble:::as_tsibble.tbl_df(x, ...)
   27. tsibble::build_tsibble(...)
   28. tsibble:::validate_index(tbl, !!qindex)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 78 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: Manual ETS selection (@test-ets.R#44) 
  2. Error: Automatic NNETAR selection (@test-nnetar.R#13) 
  3. Error: Automatic NNETAR selection (@test-nnetar.R#4) 
  4. Error: (unknown) (@test-nnetar.R#4) 
  5. Error: RW w/ drift (@test-rw.R#45) 
  
  Error: testthat unit tests failed
  Execution halted