Running ‘test-all.R’ [19s/25s]
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")
  OGR data source with driver: GeoJSON 
  Source: "/tmp/Rtmpsr9tF8/file761746c2cdc5.geojson", layer: "file761746c2cdc5"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/Rtmpsr9tF8/file761746c2cdc5.geojson", layer: "file761746c2cdc5"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/Rtmpsr9tF8/file76173b2b3955.geojson", layer: "file76173b2b3955"
  with 1 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/Rtmpsr9tF8/file76173dcd6c03.geojson", layer: "file76173dcd6c03"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/Rtmpsr9tF8/file76173dcd6c03.geojson", layer: "file76173dcd6c03"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/Rtmpsr9tF8/file76171d4083ee.geojson", layer: "file76171d4083ee"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/Rtmpsr9tF8/file76171d4083ee.geojson", layer: "file76171d4083ee"
  with 2 features
  It has 6 fields
  1. Failure: geojson_read works with file inputs (@test-geojson_read.R#12) ------
  Names of aa$features[[1]] ('type', '_id', 'properties', 'geometry') don't match 'type', 'properties', 'geometry'
  
  
  2. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#38) 
  Names of aa$features[[1]] ('type', '_id', 'properties', 'geometry') don't match 'type', 'properties', 'geometry'
  
  
  testthat results ================================================================
  OK: 396 SKIPPED: 28 FAILED: 2
  1. Failure: geojson_read works with file inputs (@test-geojson_read.R#12) 
  2. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#38) 
  
  Error: testthat unit tests failed
  Execution halted