Running ‘testthat.R’ [7s/18s]
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 ──
  Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/data/gannet/ripley/R/test-clang/sf/libs/sf.so':
    libhdf5.so.200: cannot open shared object file: No such file or directory
  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::namespaceImportFrom(...)
    7.   │ └─base::asNamespace(ns)
    8.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    9.     └─base::library.dynam(lib, package, package.lib)
   10.       └─base::dyn.load(file, DLLpath = DLLpath, ...)
  ── Error ('test-geom_ribbon.R:72:3'): geom_glyph_ribbon() works ────────────────
  Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/data/gannet/ripley/R/test-clang/sf/libs/sf.so':
    libhdf5.so.200: cannot open shared object file: No such file or directory
  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::namespaceImportFrom(...)
    7.   │ └─base::asNamespace(ns)
    8.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    9.     └─base::library.dynam(lib, package, package.lib)
   10.       └─base::dyn.load(file, DLLpath = DLLpath, ...)
  
  [ 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