Running 'testthat.R' [31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tsbox)
  > 
  > test_check("tsbox")
  -- 1. Error: main functions work with non standard cnames (@test_nonstandard_cna
  Evaluation error: all arguments must be named.
  1: expect_is(ts_span(x, start = 1958), "tbl_df") at testthat/test_nonstandard_cnames.R:14
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: ts_span(x, start = 1958)
  5: copy_class(x.dts, x)
  6: guess_time(ans)
  7: is_time(x[[cname.i]])
  8: anytime(x, useR = TRUE)
  9: anytime_cpp(x, tz = tz, asUTC = asUTC, useR = useR, oldHeuristic = oldHeuristic)
  
  -- 2. Error: colname guessing works as expected (@test_object_conversion.R#193) 
  Evaluation error: all arguments must be named.
  1: expect_equal(mdeaths, ts_ts(ts_df(ts_xts(ts_ts(x.dt))))[, "mdeaths"]) at testthat/test_object_conversion.R:193
  2: quasi_label(enquo(expected), expected.label, arg = "expected")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: ts_ts(ts_df(ts_xts(ts_ts(x.dt))))
  5: stopifnot(ts_boxable(x))
  6: ts_boxable(x)
  7: supported_classes() %in% class(x)
  8: ts_df(ts_xts(ts_ts(x.dt)))
  9: ts_data.frame(x)
  10: stopifnot(ts_boxable(x))
  ...
  19: wide_core(combine_id_cols(ts_regular(x)))
  20: stopifnot(inherits(x, "dts"))
  21: combine_id_cols(ts_regular(x))
  22: stopifnot(inherits(x, "dts"))
  23: ts_regular(x)
  24: copy_class(z, x)
  25: guess_time(ans)
  26: is_time(x[[cname.i]])
  27: anytime(x, useR = TRUE)
  28: anytime_cpp(x, tz = tz, asUTC = asUTC, useR = useR, oldHeuristic = oldHeuristic)
  
  "blabla"
  -- 3. Error: economics dataset can be converted to long format (@test_ts_long_wi
  Evaluation error: all arguments must be named.
  1: expect_is(ts_long(economics), "tbl_df") at testthat/test_ts_long_wide.R:30
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: ts_long(economics)
  5: long_core_multi_id(as.data.table(x))
  6: guess_time(x)
  7: is_time(x[[cname.i]])
  8: anytime(x, useR = TRUE)
  9: anytime_cpp(x, tz = tz, asUTC = asUTC, useR = useR, oldHeuristic = oldHeuristic)
  
  -- 4. Error: colname guessing works as expected (@test_ts_pc.R#14)  ------------
  Evaluation error: all arguments must be named.
  1: expect_equal(ts_pc(mdeaths), ts_ts(ts_xts(ts_df(ts_pc(x.df))))[, "mdeaths"]) at testthat/test_ts_pc.R:14
  2: quasi_label(enquo(expected), expected.label, arg = "expected")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: ts_ts(ts_xts(ts_df(ts_pc(x.df))))
  5: stopifnot(ts_boxable(x))
  6: ts_boxable(x)
  7: supported_classes() %in% class(x)
  8: ts_xts(ts_df(ts_pc(x.df)))
  9: stopifnot(ts_boxable(x))
  10: ts_boxable(x)
  ...
  18: ts_apply(ts_regular(x), function(x) {
         value <- NULL
         x[, list(time, value = 100 * (value/c(NA, value[-length(value)]) - 1))]
     })
  19: stopifnot(ts_boxable(x))
  20: ts_boxable(x)
  21: supported_classes() %in% class(x)
  22: ts_regular(x)
  23: copy_class(z, x)
  24: guess_time(ans)
  25: is_time(x[[cname.i]])
  26: anytime(x, useR = TRUE)
  27: anytime_cpp(x, tz = tz, asUTC = asUTC, useR = useR, oldHeuristic = oldHeuristic)
  
  -- 5. Error: tsibble back-conversion works properly (@test_tsibble.R#34)  ------
  Evaluation error: all arguments must be named.
  1: weather_tsbl %>% ts_default() at testthat/test_tsibble.R:34
  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: ts_default(.)
  10: ts_dts(x)
  11: ts_dts.tbl_ts(x)
  12: ts_long(z)
  13: long_core_multi_id(as.data.table(x))
  14: guess_time(x)
  15: is_time(x[[cname.i]])
  16: anytime(x, useR = TRUE)
  17: anytime_cpp(x, tz = tz, asUTC = asUTC, useR = useR, oldHeuristic = oldHeuristic)
  
  == testthat results  ===========================================================
  OK: 369 SKIPPED: 10 WARNINGS: 4 FAILED: 5
  1. Error: main functions work with non standard cnames (@test_nonstandard_cnames.R#14) 
  2. Error: colname guessing works as expected (@test_object_conversion.R#193) 
  3. Error: economics dataset can be converted to long format (@test_ts_long_wide.R#30) 
  4. Error: colname guessing works as expected (@test_ts_pc.R#14) 
  5. Error: tsibble back-conversion works properly (@test_tsibble.R#34) 
  
  Error: testthat unit tests failed
  Execution halted