- using R Under development (unstable) (2025-08-24 r88696)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b2)
Debian flang-new version 19.1.7 (3+b2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘usmap/DESCRIPTION’ ... OK
- this is package ‘usmap’ version ‘0.8.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- 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 ‘usmap’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] 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 ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking use of S3 registration ... 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/6s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [13s/16s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
plot_usmap 4.574 0.063 6.219
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [12s/16s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [12s/16s]
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(usmap)
>
> test_check("usmap")
[ FAIL 4 | WARN 1 | SKIP 2 | PASS 155 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test-data.R:7:3', 'test-plot.R:64:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-fips.R:2:3'): all FIPS codes returned when no state specified ──
fips() (`actual`) not equal to c(...) (`expected`).
`actual[37:43]`: "40" "41" "42" "72" "44" "45" "46"
`expected[37:42]`: "40" "41" "42" "44" "45" "46"
── Failure ('test-fips.R:48:3'): NA is returned for invalid state ──────────────
is.na(fips(state = "Puerto Rico")) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-usmap.R:5:3'): state data frame is returned ──────────────────
nrow(data) (`actual`) not equal to 51 (`expected`).
`actual`: 52.0
`expected`: 51.0
── Failure ('test-usmap.R:15:3'): county data frame is returned ────────────────
nrow(data) (`actual`) not equal to 3144 (`expected`).
`actual`: 3222.0
`expected`: 3144.0
[ FAIL 4 | WARN 1 | SKIP 2 | PASS 155 ]
Deleting unused snapshots:
• data/countypov.svg
• data/statepop.svg
• data/statepov.svg
• plot/arizona-county-map-with-labels-and-fill.svg
• plot/example-data-state-map-with-custom-linewidth.svg
• plot/new-england-state-map-with-labels-excluding-maine.svg
• plot/southeastern-states-map-with-labels.svg
• plot/state-map-with-labels.svg
• plot/state-map-with-major-rivers.svg
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [39s/58s] OK
- checking PDF version of manual ... [6s/9s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR