Running ‘testthat.R’ [17s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sugrrants)
  Loading required package: ggplot2
  > 
  > test_check("sugrrants")
  ── 1. Error: The tsibble data (@test-calendar.R#126)  ──────────────────────────
  unused argument (groups = groups(data))
  1: expect_equal(pedestrian %>% frame_calendar(x = Time, y = Hourly_Counts, date = Date), 
         ped_ts %>% frame_calendar(x = Time, y = Hourly_Counts, date = Date)) at testthat/test-calendar.R:126
  2: quasi_label(enquo(expected), expected.label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: ped_ts %>% frame_calendar(x = Time, y = Hourly_Counts, date = Date)
  5: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  6: eval(quote(`_fseq`(`_lhs`)), env, env)
  7: eval(quote(`_fseq`(`_lhs`)), env, env)
  8: `_fseq`(`_lhs`)
  9: freduce(value, `_function_list`)
  10: withVisible(function_list[[k]](value))
  11: function_list[[k]](value)
  12: frame_calendar(., x = Time, y = Hourly_Counts, date = Date)
  13: frame_calendar.tbl_ts(., x = Time, y = Hourly_Counts, date = Date)
  14: frame_calendar.default(data, x = !!x, y = !!y, date = !!date, calendar = calendar, 
         dir = dir, sunday = sunday, nrow = nrow, ncol = ncol, polar = polar, scale = scale, 
         width = width, height = height, margin = margin) %>% tsibble::build_tsibble_meta(key = tsibble::key(data), 
         index = !!tsibble::index(data), index2 = !!tsibble::index2(data), groups = groups(data), 
         interval = tsibble::interval(data), ordered = tsibble::is_ordered(data))
  15: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  16: eval(quote(`_fseq`(`_lhs`)), env, env)
  17: eval(quote(`_fseq`(`_lhs`)), env, env)
  18: `_fseq`(`_lhs`)
  19: freduce(value, `_function_list`)
  20: withVisible(function_list[[k]](value))
  21: function_list[[k]](value)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 38 SKIPPED: 0 FAILED: 1
  1. Error: The tsibble data (@test-calendar.R#126) 
  
  Error: testthat unit tests failed
  Execution halted