Running ‘test-all.R’ [35s/43s]
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/RtmpVNpLpa/file38b1c60c785.geojson", layer: "file38b1c60c785"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpVNpLpa/file38b1c60c785.geojson", layer: "file38b1c60c785"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpVNpLpa/file38b19eee2e6.geojson", layer: "file38b19eee2e6"
  with 1 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpVNpLpa/file38b52953f93.geojson", layer: "file38b52953f93"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpVNpLpa/file38b52953f93.geojson", layer: "file38b52953f93"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpVNpLpa/file38b679f741d.geojson", layer: "file38b679f741d"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpVNpLpa/file38b679f741d.geojson", layer: "file38b679f741d"
  with 2 features
  It has 6 fields
  ── 1. Error: geojson_read works with file inputs (@test-geojson_read.R#5)  ─────
  TRUE
  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: stop(paste0(res2[[1]], collapse = "\n"), call. = FALSE)
  
  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/RtmpVNpLpa/file38b43861977.json", layer: "TopoJSON"
  with 1 features
  It has 1 fields
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 510 SKIPPED: 32 FAILED: 1
  1. Error: geojson_read works with file inputs (@test-geojson_read.R#5) 
  
  Error: testthat unit tests failed
  Execution halted