Running ‘testthat.R’ [22s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spacejamr)
  > 
  > test_check("spacejamr")
      Density Mean Degree Mean Closeness Mean Betweenness Largest Component Size
  pl        0           0      0.1666667                0                      1
  apl       0           0      0.1666667                0                      1
      Density Mean Degree Mean Closeness Mean Betweenness Largest Component Size
  pl        0           0      0.1666667                0                      1
  apl       0           0      0.1666667                0                      1
  window: polygonal boundary
  enclosing rectangle: [257656.9, 323005.8] x [4558224, 4654702] units
  PointSim Object
  
  window: polygonal boundary
  enclosing rectangle: [257656.9, 323005.8] x [4558224, 4654702] units
  
  Points:3IGRAPH 1c8de0e UN-- 3 0 -- 
  + attr: name (v/c)
  + edges from 1c8de0e (vertex names):
  IGRAPH 1c8de0e UN-- 3 0 -- 
  + attr: name (v/c)
  + edges from 1c8de0e (vertex names):
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-spacejamr.R:6:5): we can create spacejamr objects ───────────────
  Error: OGRCreateCoordinateTransformation() returned NULL: PROJ available?
  Backtrace:
       █
    1. └─spacejamr::as.spacejamr(path) test-spacejamr.R:6:4
    2.   └─spacejamr:::new_spacejamr(path)
    3.     └─spacejamr:::validate_spacejamr(path)
    4.       └─crsuggest::suggest_top_crs(shapefile)
    5.         └─crsuggest::suggest_crs(...)
    6.           ├─sf::st_transform(input, st_crs(crs_type))
    7.           └─sf:::st_transform.sf(input, st_crs(crs_type))
    8.             ├─sf::st_transform(st_geometry(x), crs, ...)
    9.             └─sf:::st_transform.sfc(st_geometry(x), crs, ...)
   10.               ├─sf::st_sfc(...)
   11.               ├─base::structure(...)
   12.               └─sf:::CPL_transform(...)
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted