- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘legendry/DESCRIPTION’ ... OK
- this is package ‘legendry’ version ‘0.2.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: ‘systemfonts’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘legendry’ can be installed ... [5s/5s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking startup messages can be suppressed ... [1s/1s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [4s/4s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [7s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/8s] ERROR
Running ‘testthat.R’ [7s/7s]
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
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '