Running ‘testthat.R’ [7s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gravitas)
  > 
  > test_check("gravitas")
  ── 1. Error: gran_advice class (@test-gran_advice.R#36)  ───────────────────────
  'where' must be an environment
  Backtrace:
    1. testthat::expect_is(...)
   18. tidyr::replace_na(nobs, 0)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  ── 2. Error: tibble output (@test-harmony.R#43)  ───────────────────────────────
  'where' must be an environment
  Backtrace:
    1. testthat::expect_is(...)
   18. tidyr::replace_na(nobs, 0)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  ── 3. Error: norun check runs in create_gran (@test-harmony.R#48)  ─────────────
  'where' must be an environment
  Backtrace:
    1. testthat::expect_equal(...)
   26. tidyr::replace_na(nobs, 0)
   27. ellipsis::check_dots_used()
   29. ellipsis:::exit_handler(action)
   30. base::bquote(...)
  
  ── 4. Error: character output (@test-is_harmony.R#27)  ─────────────────────────
  'where' must be an environment
  Backtrace:
    1. testthat::expect_is(is_harmony(x, "hour_day", "day_week"), "character")
   17. tidyr::replace_na(nobs, 0)
   18. ellipsis::check_dots_used()
   20. ellipsis:::exit_handler(action)
   21. base::bquote(...)
  
  ── 5. Error: character output (@test-prob_plot.R#29)  ──────────────────────────
  'where' must be an environment
  Backtrace:
    1. testthat::expect_is(...)
   19. tidyr::replace_na(nobs, 0)
   20. ellipsis::check_dots_used()
   22. ellipsis:::exit_handler(action)
   23. base::bquote(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 122 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: gran_advice class (@test-gran_advice.R#36) 
  2. Error: tibble output (@test-harmony.R#43) 
  3. Error: norun check runs in create_gran (@test-harmony.R#48) 
  4. Error: character output (@test-is_harmony.R#27) 
  5. Error: character output (@test-prob_plot.R#29) 
  
  Error: testthat unit tests failed
  Execution halted