Running ‘testthat.R’ [7s/8s]
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(legendry)
  Loading required package: ggplot2
  > 
  > test_check("legendry")
  [ FAIL 1 | WARN 0 | SKIP 47 | PASS 392 ]
  
  ══ Skipped tests (47) ══════════════════════════════════════════════════════════
  • Not implemented yet (1): 'test-key-other.R:16:3'
  • On CRAN (45): 'test-aaa.R:15:3', 'test-compose-crux.R:39:3',
    'test-compose-ontop.R:38:3', 'test-compose-sandwich.R:18:3',
    'test-compose-stack.R:24:3', 'test-gizmo-barcap.R:98:3',
    'test-gizmo-grob.R:21:3', 'test-gizmo-grob.R:46:3',
    'test-guide-axis-custom.R:31:3', 'test-guide-axis-nested.R:60:3',
    'test-guide-circles.R:35:3', 'test-guide-circles.R:72:3',
    'test-guide-colbar.R:21:5', 'test-guide-colring.R:6:5',
    'test-guide-colsteps.R:22:5', 'test-guide-legend-base.R:93:3',
    'test-guide-legend-cross.R:32:3', 'test-guide-legend-cross.R:48:3',
    'test-guide-legend-cross.R:78:3', 'test-guide-legend-group.R:17:3',
    'test-key-.R:70:3', 'test-key-group.R:44:3', 'test-key-range.R:114:3',
    'test-primitive-box.R:31:3', 'test-primitive-box.R:72:3',
    'test-primitive-bracket.R:34:3', 'test-primitive-bracket.R:82:3',
    'test-primitive-fence.R:35:3', 'test-primitive-fence.R:84:3',
    'test-primitive-labels.R:22:3', 'test-primitive-labels.R:51:3',
    'test-primitive-labels.R:107:3', 'test-primitive-line.R:7:3',
    'test-primitive-line.R:37:3', 'test-primitive-line.R:69:3',
    'test-primitive-segments.R:35:3', 'test-primitive-segments.R:66:3',
    'test-primitive-spacer.R:22:3', 'test-primitive-spacer.R:47:3',
    'test-primitive-ticks.R:22:3', 'test-primitive-ticks.R:51:3',
    'test-primitive-title.R:24:3', 'test-primitive-title.R:52:3',
    'test-scale-dendro.R:49:3', 'test-utils-checks.R:99:3'
  • {ragg} cannot be loaded (1): 'test-gizmo-histogram.R:51:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-utils-text.R:26:3'): get_fontmetrics works ─────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `get_fontmetrics(style)`: The package "systemfonts" is required.
  Backtrace:
      ▆
   1. └─legendry:::get_fontmetrics(style) at test-utils-text.R:26:3
   2.   └─rlang::check_installed("systemfonts")
  
  [ FAIL 1 | WARN 0 | SKIP 47 | PASS 392 ]
  Deleting unused snapshots:
  • compose-ontop/compose-ontop-radial.svg
  • compose-sandwich/horizontal-sandwich-flipped.svg
  • compose-sandwich/horizontal-sandwich.svg
  • compose-sandwich/vertical-sandwich-flipped.svg
  • compose-stack/compose-stack-radial.svg
  • gizmo-barcap/arch-cap-long.svg
  • gizmo-barcap/arch-cap.svg
  • gizmo-barcap/ogee-cap-long.svg
  • gizmo-barcap/ogee-cap.svg
  • gizmo-barcap/round-cap-long.svg
  • gizmo-barcap/round-cap.svg
  • gizmo-barcap/triangle-cap-long.svg
  • guide-axis-custom/guide-axis-base-radial.svg
  • guide-axis-nested/guide-axis-base-radial.svg
  • guide-circles/guide-circles-text-locations.svg
  • guide-colbar/bottom-position.svg
  • guide-colbar/left-position.svg
  • guide-colbar/top-position.svg
  • guide-colring/conical.svg
  • guide-colring/inner-labels.svg
  • guide-colring/open-ring.svg
  • guide-colring/resized-ring.svg
  • guide-colsteps/bottom-position.svg
  • guide-colsteps/left-position.svg
  • guide-colsteps/top-position.svg
  • guide-legend-base/custom-legend-design.svg
  • guide-legend-cross/legend-cross-two-scales-swapped-order.svg
  • guide-legend-cross/legend-cross-with-double-reverse.svg
  • guide-legend-group/bottom-bottomtitle.svg
  • guide-legend-group/bottom-lefttitle.svg
  • guide-legend-group/bottom-righttitle.svg
  • guide-legend-group/bottom-toptitle.svg
  • guide-legend-group/right-bottomtitle.svg
  • guide-legend-group/right-lefttitle.svg
  • guide-legend-group/right-righttitle.svg
  • primitive-box/primitive-box-radial.svg
  • primitive-bracket/primitive-bracket-radial.svg
  • primitive-fence/primitive-fence-radial.svg
  • primitive-labels/primitive-labels-radial.svg
  • primitive-line/primitive-line-radial.svg
  • primitive-segments/primitive-segments-radial.svg
  • primitive-spacer/primitive-spacer-radial.svg
  • primitive-ticks/primitive-ticks-radial.svg
  • primitive-title/primitive-title-radial.svg
  • scale-dendro/scale-dendro-radial.svg
  Error: Test failures
  Execution halted