Running ‘test-all.R’ [35s/44s]
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/RtmpvTcsM1/file52a94aa33ae7.geojson", layer: "file52a94aa33ae7"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpvTcsM1/file52a94aa33ae7.geojson", layer: "file52a94aa33ae7"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpvTcsM1/file52a96706ed8e.geojson", layer: "file52a96706ed8e"
  with 1 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpvTcsM1/file52a9602b8ff6.geojson", layer: "file52a9602b8ff6"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpvTcsM1/file52a9602b8ff6.geojson", layer: "file52a9602b8ff6"
  with 2 features
  It has 1 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpvTcsM1/file52a9f0d9338.geojson", layer: "file52a9f0d9338"
  with 2 features
  It has 6 fields
  OGR data source with driver: GeoJSON 
  Source: "/tmp/RtmpvTcsM1/file52a9f0d9338.geojson", layer: "file52a9f0d9338"
  with 2 features
  It has 6 fields
  OGR data source with driver: TopoJSON 
  Source: "/home/hornik/tmp/R.check/r-release-gcc/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-release-gcc/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/RtmpvTcsM1/file52a926f64dbd.json", layer: "TopoJSON"
  with 1 features
  It has 1 fields
  ── 1. Error: validate works with character inputs (@test-validate.R#4)  ────────
  Method Not Allowed (HTTP 405).
  1: supw(validate("{\"type\": \"FooBar\"}")) at testthat/test-validate.R:4
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate("{\"type\": \"FooBar\"}")
  5: validate.character("{\"type\": \"FooBar\"}")
  6: stop_for_status(res)
  
  ── 2. Error: validate works with geo_list inputs (@test-validate.R#21)  ────────
  Method Not Allowed (HTTP 405).
  1: supw(validate(x)) at testthat/test-validate.R:21
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(x)
  5: validate.geo_list(x)
  6: val_fxn(x)
  7: stop_for_status(res)
  
  ── 3. Error: validate works with file inputs (@test-validate.R#29)  ────────────
  Method Not Allowed (HTTP 405).
  1: supw(validate(as.location(file))) at testthat/test-validate.R:29
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(as.location(file))
  5: validate.location(as.location(file))
  6: stop_for_status(res)
  
  ── 4. Error: validate works with json inputs (@test-validate.R#47)  ────────────
  Method Not Allowed (HTTP 405).
  1: supw(validate(x)) at testthat/test-validate.R:47
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(x)
  5: validate.json(x)
  6: val_fxn(x)
  7: stop_for_status(res)
  
  ── 5. Error: validate works with data.frame inputs (@test-validate.R#54)  ──────
  Method Not Allowed (HTTP 405).
  1: supw(validate(us_cities[1:2, ], lat = "lat", lon = "long")) at testthat/test-validate.R:54
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(us_cities[1:2, ], lat = "lat", lon = "long")
  5: validate.data.frame(us_cities[1:2, ], lat = "lat", lon = "long")
  6: validate(geojson_list(x, ...))
  7: validate.geo_list(geojson_list(x, ...))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 6. Error: validate works with numeric vector inputs (@test-validate.R#60)  ──
  Method Not Allowed (HTTP 405).
  1: expect_is(supw(validate(c(32.45, -99.74))), "list") at testthat/test-validate.R:60
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: supw(validate(c(32.45, -99.74)))
  5: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: validate(c(32.45, -99.74))
  8: validate.numeric(c(32.45, -99.74))
  9: validate(geojson_list(x))
  10: validate.geo_list(geojson_list(x))
  11: val_fxn(x)
  12: stop_for_status(res)
  
  ── 7. Error: validate works with list inputs (@test-validate.R#67)  ────────────
  Method Not Allowed (HTTP 405).
  1: suppressMessages(supw(validate(mylist))) at testthat/test-validate.R:67
  2: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  3: supw(validate(mylist))
  4: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: validate(mylist)
  7: validate.list(mylist)
  8: validate(geojson_list(x))
  9: validate.geo_list(geojson_list(x))
  10: val_fxn(x)
  11: stop_for_status(res)
  
  ── 8. Error: validate works with SpatialPolygons inputs (@test-validate.R#106)  
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_poly)) at testthat/test-validate.R:106
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_poly)
  5: validate.SpatialPolygons(sp_poly)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 9. Error: validate works with SpatialPolygonsDataFrame inputs (@test-validate
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_polydf)) at testthat/test-validate.R:114
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_polydf)
  5: validate.SpatialPolygonsDataFrame(sp_polydf)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 10. Error: validate works with SpatialPoints inputs (@test-validate.R#121)  ─
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_pts)) at testthat/test-validate.R:121
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_pts)
  5: validate.SpatialPoints(sp_pts)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 11. Error: validate works with SpatialPointsDataFrame inputs (@test-validate.
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_ptsdf)) at testthat/test-validate.R:129
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_ptsdf)
  5: validate.SpatialPointsDataFrame(sp_ptsdf)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 12. Error: validate works with SpatialLines inputs (@test-validate.R#136)  ──
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_lines)) at testthat/test-validate.R:136
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_lines)
  5: validate.SpatialLines(sp_lines)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 13. Error: validate works with SpatialLinesDataFrame inputs (@test-validate.R
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_linesdf)) at testthat/test-validate.R:144
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_linesdf)
  5: validate.SpatialLinesDataFrame(sp_linesdf)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 14. Error: validate works with SpatialGrid inputs (@test-validate.R#152)  ───
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_grid)) at testthat/test-validate.R:152
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_grid)
  5: validate.SpatialGrid(sp_grid)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ── 15. Error: validate works with SpatialGridDataFrame inputs (@test-validate.R#
  Method Not Allowed (HTTP 405).
  1: supw(validate(sp_griddf)) at testthat/test-validate.R:160
  2: suppressWarnings(x) at /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/geojsonio.Rcheck/tests/testthat/helper-geojsonio.R:5
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: validate(sp_griddf)
  5: validate.SpatialGridDataFrame(sp_griddf)
  6: validate(geojson_list(x))
  7: validate.geo_list(geojson_list(x))
  8: val_fxn(x)
  9: stop_for_status(res)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 408 SKIPPED: 32 FAILED: 15
  1. Error: validate works with character inputs (@test-validate.R#4) 
  2. Error: validate works with geo_list inputs (@test-validate.R#21) 
  3. Error: validate works with file inputs (@test-validate.R#29) 
  4. Error: validate works with json inputs (@test-validate.R#47) 
  5. Error: validate works with data.frame inputs (@test-validate.R#54) 
  6. Error: validate works with numeric vector inputs (@test-validate.R#60) 
  7. Error: validate works with list inputs (@test-validate.R#67) 
  8. Error: validate works with SpatialPolygons inputs (@test-validate.R#106) 
  9. Error: validate works with SpatialPolygonsDataFrame inputs (@test-validate.R#114) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted