CRAN Package Check Results for Package systemfonts

Last updated on 2021-12-02 23:51:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 40.33 27.88 68.21 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 33.02 22.23 55.25 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 118.92 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 100.37 OK
r-devel-windows-x86_64-new-UL 1.0.3 81.00 98.00 179.00 ERROR
r-devel-windows-x86_64-new-TK 1.0.3 OK
r-devel-windows-x86_64-old 1.0.3 73.00 44.00 117.00 OK
r-patched-linux-x86_64 1.0.3 41.19 26.65 67.84 OK
r-patched-solaris-x86 1.0.3 115.20 OK
r-release-linux-x86_64 1.0.3 39.02 27.15 66.17 OK
r-release-macos-arm64 1.0.3 NOTE
r-release-macos-x86_64 1.0.3 ERROR
r-release-windows-ix86+x86_64 1.0.3 142.00 74.00 216.00 OK
r-oldrel-macos-x86_64 1.0.3 ERROR
r-oldrel-windows-ix86+x86_64 1.0.3 129.00 71.00 200.00 OK

Check Details

Version: 1.0.3
Check: examples
Result: ERROR
    Running examples in 'systemfonts-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: register_font
    > ### Title: Register font collections as families
    > ### Aliases: register_font registry_fonts clear_registry
    >
    > ### ** Examples
    >
    > # Create a random font collection
    > fonts <- system_fonts()
    > plain <- sample(which(!fonts$italic & fonts$weight <= 'normal'), 1)
    Error in sample.int(length(x), size, replace, prob) :
     invalid first argument
    Calls: sample -> sample.int
    Execution halted
Flavor: r-devel-windows-x86_64-new-UL

Version: 1.0.3
Check: tests
Result: ERROR
     Running 'testthat.R' [1s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(systemfonts)
     >
     > test_check("systemfonts")
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-match_font.R:18:3): Font files can be found ───────────────────
     tools::file_path_sans_ext(basename(font_path)) not equal to `font`.
     1/1 mismatches
     x[1]: "unfont"
     y[1]: "arial"
     ── Failure (test-match_font.R:28:3): Default font is correct ───────────────────
     tools::file_path_sans_ext(basename(font_path)) not equal to `font`.
     1/1 mismatches
     x[1]: "unfont"
     y[1]: "arial"
     ── Failure (test-system_fonts.R:6:3): System fonts can be listed ───────────────
     nrow(fonts) is not strictly more than 0. Difference: 0
    
     [ FAIL 3 | WARN 1 | SKIP 0 | PASS 4 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-UL

Version: 1.0.3
Check: installed package size
Result: NOTE
     installed size is 20.5Mb
     sub-directories of 1Mb or more:
     libs 20.2Mb
Flavor: r-release-macos-arm64

Version: 1.0.3
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64