Running ‘testthat.R’ [3s/3s]
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(sugarglider)
  > 
  > test_check("sugarglider")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 11 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-geom_glyph_segment.R:4:3'): geom_segment_glyph and rescaling work ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'ozmaps'
  Backtrace:
      ▆
   1. ├─ggplot2::geom_sf(data = ozmaps::abs_ste, color = "white") at test-geom_glyph_segment.R:4:3
   2. │ └─ggplot2::layer_sf(...)
   3. │   └─ggplot2::layer(...)
   4. │     └─ggplot2::fortify(data)
   5. └─base::loadNamespace(x)
   6.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7.     └─base (local) withOneRestart(expr, restarts[[1L]])
   8.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-geom_ribbon.R:72:3'): geom_glyph_ribbon() works ────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'ozmaps'
  Backtrace:
      ▆
   1. ├─ggplot2::geom_sf(data = ozmaps::abs_ste, color = "white") at test-geom_ribbon.R:72:3
   2. │ └─ggplot2::layer_sf(...)
   3. │   └─ggplot2::layer(...)
   4. │     └─ggplot2::fortify(data)
   5. └─base::loadNamespace(x)
   6.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7.     └─base (local) withOneRestart(expr, restarts[[1L]])
   8.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 11 ]
  Deleting unused snapshots:
  • geom_glyph_segment/geom-glyph-segment-all.svg
  • geom_glyph_segment/geom-glyph-segment-global-rescale.svg
  • geom_glyph_segment/geom-glyph-segment-identity.svg
  • geom_glyph_segment/geom-glyph-segment-local-rescale.svg
  • geom_ribbon/geom-glyph-ribbon-all.svg
  • geom_ribbon/geom-glyph-ribbon-global-rescale.svg
  • geom_ribbon/geom-glyph-ribbon-identity.svg
  • geom_ribbon/geom-glyph-ribbon-local-rescale.svg
  Error: Test failures
  Execution halted