Running ‘testthat.R’ [12s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(usmap)
  > 
  > test_check("usmap")
  ── FAILURE (test-plot.R:120:3): singular regions can be used ───────────────────
  plot_usmap(regions = "states")$layers not equal to plot_usmap(regions = "state")$layers.
  Component 1: Component 11: Component 1: target is not list-like
  Component 2: Component 11: Component 1: target is not list-like
  
  ── FAILURE (test-plot.R:122:3): singular regions can be used ───────────────────
  plot_usmap(regions = "counties")$layers not equal to plot_usmap(regions = "county")$layers.
  Component 1: Component 11: Component 1: target is not list-like
  Component 2: Component 11: Component 1: target is not list-like
  
  ── Warning (test-transform.R:16:3): data frame with AK and HI points is transfor
  Discarded datum unknown in CRS definition
  
  ── Warning (test-transform.R:16:3): data frame with AK and HI points is transfor
  CRS object has comment, which is lost in output
  
  ── Warning (test-transform.R:16:3): data frame with AK and HI points is transfor
  Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition
  
  ── Warning (test-transform.R:16:3): data frame with AK and HI points is transfor
  CRS object has comment, which is lost in output
  
  ── Warning (test-transform.R:16:3): data frame with AK and HI points is transfor
  Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition
  
  ── Warning (test-transform.R:32:3): data frame with AK points is transformed ───
  Discarded datum unknown in CRS definition
  
  ── Warning (test-transform.R:32:3): data frame with AK points is transformed ───
  CRS object has comment, which is lost in output
  
  ── Warning (test-transform.R:32:3): data frame with AK points is transformed ───
  Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition
  
  ── Warning (test-transform.R:48:3): data frame with HI points is transformed ───
  Discarded datum unknown in CRS definition
  
  ── Warning (test-transform.R:48:3): data frame with HI points is transformed ───
  CRS object has comment, which is lost in output
  
  ── Warning (test-transform.R:48:3): data frame with HI points is transformed ───
  Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition
  
  ── Warning (test-transform.R:64:3): data frame with no AK or HI points is transf
  Discarded datum unknown in CRS definition
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-plot.R:120:3): singular regions can be used
  FAILURE (test-plot.R:122:3): singular regions can be used
  Warning (test-transform.R:16:3): data frame with AK and HI points is transformed
  Warning (test-transform.R:16:3): data frame with AK and HI points is transformed
  Warning (test-transform.R:16:3): data frame with AK and HI points is transformed
  Warning (test-transform.R:16:3): data frame with AK and HI points is transformed
  Warning (test-transform.R:16:3): data frame with AK and HI points is transformed
  Warning (test-transform.R:32:3): data frame with AK points is transformed
  Warning (test-transform.R:32:3): data frame with AK points is transformed
  Warning (test-transform.R:32:3): data frame with AK points is transformed
  Warning (test-transform.R:48:3): data frame with HI points is transformed
  Warning (test-transform.R:48:3): data frame with HI points is transformed
  Warning (test-transform.R:48:3): data frame with HI points is transformed
  Warning (test-transform.R:64:3): data frame with no AK or HI points is transformed
  
  [ FAIL 2 | WARN 12 | SKIP 0 | PASS 155 ]
  Error: Test failures
  Execution halted