Running ‘test-all.R’ [9s/31s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("rphylopic")
  Loading required package: rphylopic
  Thank you for using rphylopic! Don't forget to attribute the silhouettes that you use to their contributors using the `get_attribution()` function and/or the `verbose` argument in the `geom_phylopic()`, `add_phylopic()`, and `add_phylopic_base()` functions. We would also appreciate it if you cite this package in your work (use `citation("rphylopic")`).
  [ FAIL 1 | WARN 0 | SKIP 14 | PASS 9 ]
  
  ══ Skipped tests (14) ══════════════════════════════════════════════════════════
  • On CRAN (14): 'test-add_phylopic.R:4:3', 'test-add_phylopic_base.R:2:3',
    'test-browse_phylopic.R:2:3', 'test-geom_phylopic.R:4:3',
    'test-geom_phylopic.R:60:3', 'test-get_attribution.R:2:3',
    'test-get_uuid.R:2:3', 'test-phylopic_utils.R:2:3',
    'test-phylopic_utils.R:26:3', 'test-phylopic_utils.R:44:3',
    'test-phylopic_utils.R:83:3', 'test-phylopic_utils.R:93:3',
    'test-pick_phylo.R:2:3', 'test-save_phylopic.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_phylopic.R:20:3'): get_phylopic works ──────────────────────
  Error in `read_data(svg)`: is.raw(svg) is not TRUE
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-get_phylopic.R:20:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─rphylopic::get_phylopic(...)
    8.   ├─png::readPNG(rsvg_png(image_info$vectorFile$href, height = height))
    9.   └─rsvg::rsvg_png(image_info$vectorFile$href, height = height)
   10.     └─rsvg:::rsvg_format(...)
   11.       └─rsvg:::read_data(svg)
   12.         └─base::stopifnot(is.raw(svg))
  
  [ FAIL 1 | WARN 0 | SKIP 14 | PASS 9 ]
  Deleting unused snapshots:
  • add_phylopic/phylopic-in-background.svg
  • add_phylopic/phylopic-png-in-background.svg
  • add_phylopic/phylopics-on-top-of-plot.svg
  • add_phylopic_base/phylopic-in-background.svg
  • add_phylopic_base/phylopic-png-in-background.svg
  • add_phylopic_base/phylopics-on-top-of-plot.svg
  • geom_phylopic/geom-phylopic-with-png.svg
  • geom_phylopic/geom-phylopic.svg
  • geom_phylopic/phylopic-key-glyph-with-img.svg
  • geom_phylopic/phylopic-key-glyph-with-larger-glyphs.svg
  • geom_phylopic/phylopic-key-glyph-with-uuid.svg
  • geom_phylopic/phylopic-key-glyph.svg
  • phylopic_utils/plot-array.svg
  • phylopic_utils/plot-picture.svg
  Error: Test failures
  Execution halted