Running ‘test-all.R’ [38s/179s]
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/RtmpXRR03n/file79919f8aae.geojson", layer: "file79919f8aae"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpXRR03n/file79919f8aae.geojson", layer: "file79919f8aae"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpXRR03n/file7991553c87ff.geojson", layer: "file7991553c87ff"
  with 1 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpXRR03n/file7991359510ce.geojson", layer: "file7991359510ce"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpXRR03n/file7991359510ce.geojson", layer: "file7991359510ce"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpXRR03n/file79916121073a.geojson", layer: "file79916121073a"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpXRR03n/file79916121073a.geojson", layer: "file79916121073a"
  with 2 features
  It has 6 fields
  ── 1. Error: geojson_read works with file inputs (@test-geojson_read.R#5)  ─────
  Gateway Timeout (HTTP 504).
  1: geojson_read(file) at testthat/test-geojson_read.R:5
  2: geojson_read.character(file)
  3: read_json(as.location(x), method, parse, what, ...)
  4: file_to_geojson(x, method, output = ":memory:", parse, ...)
  5: httr::stop_for_status(tt)
  
  ── 2. Error: geojson_read works with as.location inputs (@test-geojson_read.R#31
  Gateway Timeout (HTTP 504).
  1: geojson_read(as.location(file)) at testthat/test-geojson_read.R:31
  2: geojson_read.location(as.location(file))
  3: read_json(x, method, parse, what, ...)
  4: file_to_geojson(x, method, output = ":memory:", parse, ...)
  5: httr::stop_for_status(tt)
  
  OGR data source with driver: TopoJSON 
  Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/geojsonio/examples/us_states.topojson", layer: "states"
  with 51 features
  It has 1 fields
  OGR data source with driver: TopoJSON 
  Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/geojsonio/examples/us_states.topojson", layer: "states"
  with 51 features
  It has 1 fields
  OGR data source with driver: TopoJSON 
  Source: "/tmp/RtmpXRR03n/file7991798b9cea.json", layer: "TopoJSON"
  with 1 features
  It has 1 fields
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 503 SKIPPED: 32 FAILED: 2
  1. Error: geojson_read works with file inputs (@test-geojson_read.R#5) 
  2. Error: geojson_read works with as.location inputs (@test-geojson_read.R#31) 
  
  Error: testthat unit tests failed
  Execution halted