Running 'spelling.R' [0s]
  Running 'testthat.R' [72s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(ggsurveillance)
  > 
  > test_check("ggsurveillance")
  Saving _problems/test-geom_epicurve-160.R
  Saving _problems/test-geom_epicurve-179.R
  [ FAIL 2 | WARN 12 | SKIP 38 | PASS 513 ]
  
  ══ Skipped tests (38) ══════════════════════════════════════════════════════════
  • On CRAN (38): 'test-geom_bar_diverging.R:1:1',
    'test-geom_bar_diverging.R:46:1', 'test-geom_bar_diverging.R:73:1',
    'test-geom_bar_diverging.R:102:1', 'test-geom_bar_diverging.R:134:1',
    'test-geom_bar_diverging.R:153:1', 'test-geom_bar_diverging.R:172:1',
    'test-geom_bar_diverging.R:459:1', 'test-geom_bar_diverging.R:496:1',
    'test-geom_bar_diverging.R:550:1', 'test-geom_bar_range.R:1:1',
    'test-geom_bar_range.R:27:1', 'test-geom_bar_range.R:46:1',
    'test-geom_epicurve.R:1:1', 'test-geom_epicurve.R:34:1',
    'test-geom_epicurve.R:61:1', 'test-geom_epicurve.R:109:1',
    'test-geom_epicurve.R:124:1', 'test-geom_epicurve.R:140:1',
    'test-geom_epicurve.R:164:1', 'test-geom_epicurve.R:189:1',
    'test-geom_epigantt.R:43:1', 'test-geom_epigantt.R:67:1',
    'test-geom_epigantt.R:93:1', 'test-geom_vline_year.R:1:1',
    'test-geom_vline_year.R:16:1', 'test-geom_vline_year.R:32:1',
    'test-geom_vline_year.R:45:1', 'test-geom_vline_year.R:87:1',
    'test-geom_vline_year.R:118:1', 'test-scale_discrete_reverse.R:1:1',
    'test-stat_last_value.R:1:1', 'test-stat_last_value.R:21:1',
    'test-stat_last_value.R:50:1', 'test-stat_last_value.R:70:1',
    'test-stat_last_value.R:92:1', 'test-stat_last_value.R:114:1',
    'test-stat_last_value.R:147:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-geom_epicurve.R:160:3'): geom_epicurve handles NA values correctly ──
  Expected `vdiffr::expect_doppelganger("6_geom_epicurve_na_TRUE", p2)` not to throw any warnings.
  Actually got a <rlang_warning> with message:
    Ignoring empty aesthetic: `width`.
  ── Failure ('test-geom_epicurve.R:179:3'): geom_epicurve with stat = 'bin_date' ──
  Expected `vdiffr::expect_doppelganger("7_geom_epicurve_bin_date_res", p1)` not to throw any warnings.
  Actually got a <rlang_warning> with message:
    Ignoring empty aesthetic: `width`.
  
  [ FAIL 2 | WARN 12 | SKIP 38 | PASS 513 ]
  Error:
  ! Test failures.
  Execution halted