Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [45s/51s]
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_extras-2.R
  [ FAIL 1 | WARN 6 | SKIP 39 | PASS 552 ]
  
  ══ Skipped tests (39) ══════════════════════════════════════════════════════════
  • On CRAN (39): '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:53:1',
    'test-geom_epicurve.R:80:1', 'test-geom_epicurve.R:128:1',
    'test-geom_epicurve.R:143:1', 'test-geom_epicurve.R:159:1',
    'test-geom_epicurve.R:183:1', 'test-geom_epicurve.R:208: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-label_power10.R:355: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:58:1',
    'test-stat_last_value.R:78:1', 'test-stat_last_value.R:114:1',
    'test-stat_last_value.R:138:1', 'test-stat_last_value.R:173:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_extras.R:2:3'): Test package onLoad for plotly ───────────────
  Expected `suppressPackageStartupMessages(suppressWarnings(library(plotly)))` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'plotly'
  
  [ FAIL 1 | WARN 6 | SKIP 39 | PASS 552 ]
  Error:
  ! Test failures.
  Execution halted