Running ‘testthat.R’ [19s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(feasts)
  Loading required package: fabletools
  > 
  > test_check("feasts")
  ── 1. Error: X-13ARIMA-SEATS decomposition (@test-seats.R#27)  ─────────────────
  Process terminated
  1: tsbl_co2 %>% feasts:::SEATS(value) at testthat/test-seats.R:27
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: withVisible(function_list[[k]](value))
  8: function_list[[k]](value)
  9: feasts:::SEATS(., value)
  10: new_decomposition_definition(dcmp, .data, !!enquo(formula), ...)
  ...
  14: map(.dcmp, function(data, dcmp) {
         estimate(data, dcmp)[["fit"]]
     }, dcmp)
  15: lapply(.x, .f, ...)
  16: FUN(X[[i]], ...)
  17: estimate(data, dcmp)
  18: estimate.tbl_ts(data, dcmp)
  19: eval_tidy(expr(.model$train(.data = .data, specials = parsed$specials, !!!.model$extra)))
  20: .model$train(.data = .data, specials = parsed$specials)
  21: seasonal::seas(y, ...)
  22: checkX13(fail = TRUE, fullcheck = FALSE, htmlcheck = FALSE)
  23: stop("Process terminated")
  
  ── 2. Error: Additive X11 decomposition (@test-x11.R#21)  ──────────────────────
  Process terminated
  1: tsbl_co2 %>% feasts:::X11(value) at testthat/test-x11.R:21
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: withVisible(function_list[[k]](value))
  8: function_list[[k]](value)
  9: feasts:::X11(., value)
  10: new_decomposition_definition(dcmp, .data, !!enquo(formula), type = type, ...)
  ...
  14: map(.dcmp, function(data, dcmp) {
         estimate(data, dcmp)[["fit"]]
     }, dcmp)
  15: lapply(.x, .f, ...)
  16: FUN(X[[i]], ...)
  17: estimate(data, dcmp)
  18: estimate.tbl_ts(data, dcmp)
  19: eval_tidy(expr(.model$train(.data = .data, specials = parsed$specials, !!!.model$extra)))
  20: .model$train(.data = .data, specials = parsed$specials, type = "additive")
  21: seasonal::seas(y, x11 = "", x11.mode = type, transform.function = switch(type, add = "none", 
         "log"))
  22: checkX13(fail = TRUE, fullcheck = FALSE, htmlcheck = FALSE)
  23: stop("Process terminated")
  
  ── 3. Error: Multiplicative X11 decomposition (@test-x11.R#45)  ────────────────
  Process terminated
  1: tsbl_uad %>% feasts:::X11(value, type = "multiplicative") at testthat/test-x11.R:45
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: withVisible(function_list[[k]](value))
  8: function_list[[k]](value)
  9: feasts:::X11(., value, type = "multiplicative")
  10: new_decomposition_definition(dcmp, .data, !!enquo(formula), type = type, ...)
  ...
  14: map(.dcmp, function(data, dcmp) {
         estimate(data, dcmp)[["fit"]]
     }, dcmp)
  15: lapply(.x, .f, ...)
  16: FUN(X[[i]], ...)
  17: estimate(data, dcmp)
  18: estimate.tbl_ts(data, dcmp)
  19: eval_tidy(expr(.model$train(.data = .data, specials = parsed$specials, !!!.model$extra)))
  20: .model$train(.data = .data, specials = parsed$specials, type = "multiplicative")
  21: seasonal::seas(y, x11 = "", x11.mode = type, transform.function = switch(type, add = "none", 
         "log"))
  22: checkX13(fail = TRUE, fullcheck = FALSE, htmlcheck = FALSE)
  23: stop("Process terminated")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 91 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: X-13ARIMA-SEATS decomposition (@test-seats.R#27) 
  2. Error: Additive X11 decomposition (@test-x11.R#21) 
  3. Error: Multiplicative X11 decomposition (@test-x11.R#45) 
  
  Error: testthat unit tests failed
  Execution halted