Running ‘test-all.R’ [28s/45s]
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: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefef701dde09.geojson", layer: "filefef701dde09"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefef701dde09.geojson", layer: "filefef701dde09"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefef264abf1c.geojson", layer: "filefef264abf1c"
  with 1 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefefd95a9fa.geojson", layer: "filefefd95a9fa"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefefd95a9fa.geojson", layer: "filefefd95a9fa"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefef4956cbe5.geojson", layer: "filefef4956cbe5"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefef4956cbe5.geojson", layer: "filefef4956cbe5"
  with 2 features
  It has 6 fields
  ── 1. Error: geojson_read works with file inputs (@test-geojson_read.R#5)  ─────
  Failed to connect to ogre.adc4gis.com port 80: No route to host
  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::POST(url, body = list(upload = httr::upload_file(input)))
  6: request_perform(req, hu$handle$handle)
  7: request_fetch(req$output, req$url, handle)
  8: request_fetch.write_memory(req$output, req$url, handle)
  9: curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: geojson_read works with as.location inputs (@test-geojson_read.R#31
  Failed to connect to ogre.adc4gis.com port 80: No route to host
  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::POST(url, body = list(upload = httr::upload_file(input)))
  6: request_perform(req, hu$handle$handle)
  7: request_fetch(req$output, req$url, handle)
  8: request_fetch.write_memory(req$output, req$url, handle)
  9: curl::curl_fetch_memory(url, handle = handle)
  
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/geojsonio/examples/us_states.topojson", layer: "states"
  with 51 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/geojsonio/examples/us_states.topojson", layer: "states"
  with 51 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/home/hornik/tmp/scratch/Rtmpk06iv9/filefef609b9fe9.json", layer: "TopoJSON"
  with 1 features
  It has 1 fields
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 497 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