Running ‘test-all.R’ [66s/92s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > library("geojsonio")
  
  Attaching package: 'geojsonio'
  
  The following object is masked from 'package:base':
  
      pretty
  
  > test_check("geojsonio")
  ── 1. Failure: as.json works with geojson class inputs (@test-as.json.R#52)  ───
  unclass(as.json(e, verbose = FALSE)) not equal to "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"Feature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}".
  1/1 mismatches
  x[1]: "{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\
  x[1]: ":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coor
  x[1]: dinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\
  x[1]: ",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\"
  x[1]: ,\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}"
  y[1]: "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\"
  y[1]: :{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"F
  y[1]: eature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Po
  y[1]: lygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"typ
  y[1]: e\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"t...
  
  ── 2. Failure: geojson_read works with file inputs (@test-geojson_read.R#12)  ──
  aa$crs inherits from `NULL` not `list`.
  
  ── 3. Failure: geojson_read works with file inputs (@test-geojson_read.R#16)  ──
  sort(names(aa)) not equal to `top_names`.
  Lengths differ: 3 is not 4
  
  ── 4. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
  aa$crs inherits from `NULL` not `list`.
  
  ── 5. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
  sort(names(aa)) not equal to `top_names`.
  Lengths differ: 3 is not 4
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 395 | SKIPPED: 30 | WARNINGS: 0 | FAILED: 5 ]
  1. Failure: as.json works with geojson class inputs (@test-as.json.R#52) 
  2. Failure: geojson_read works with file inputs (@test-geojson_read.R#12) 
  3. Failure: geojson_read works with file inputs (@test-geojson_read.R#16) 
  4. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#38) 
  5. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#42) 
  
  Error: testthat unit tests failed
  Execution halted