Running 'test-all.R' [25s/27s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library("testthat")
  > library("geojson")
  
  Attaching package: 'geojson'
  
  The following object is masked from 'package:graphics':
  
      polygon
  
  > test_check("geojson")
  -- 1. Failure: linestring fails well with geojson linting on (@test-feature.R#61
  `feature("{\"type\":\"Feature\",\"coordinates\":[]}")` did not throw an error.
  
  -- 2. Failure: linestring fails well with geojson linting on (@test-feature.R#64
  `feature("{\"type\":\"Feature\",\"properties\":{}}")` did not throw an error.
  
  -- 3. Failure: linestring fails well with geojson linting on (@test-feature.R#67
  `feature("{\"type\":\"Feature\",\"properties\":{},\"geometry\":{}}")` did not throw an error.
  
  -- 4. Failure: linestring fails well with geojson linting on (@test-feature.R#70
  `feature("{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"Point\"}}")` threw an error with unexpected message.
  Expected match: "\"coordinates\" member required"
  Actual message: "keys not correct"
  
  -- 5. Failure: linestring fails well with geojson linting on (@test-feature.R#73
  `feature("{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"Point\",\"coordinates\":[]}}")` did not throw an error.
  
  -- 6. Failure: featurecollection fails well with geojson linting on (@test-featu
  `featurecollection("{\"type\": \"featurecollection\", \"coordinates\": [[]]}")` did not throw an error.
  
  -- 7. Failure: featurecollection fails well with geojson linting on (@test-featu
  `featurecollection("{\"type\": \"FeatureCollection\", \"coordinates\": [[]]}")` threw an error with unexpected message.
  Expected match: "FeatureCollection object cannot contain a \"coordinates\" member"
  Actual message: "keys not correct"
  
  -- 8. Failure: geometrycollection fails well with geojson linting on (@test-geom
  `geometrycollection("{\"type\": \"GeometryCollection\", \"coordinates\":[]}")` threw an error with unexpected message.
  Expected match: "\"geometries\" member required"
  Actual message: "keys not correct"
  
  -- 9. Failure: linestring fails well with geojson linting on (@test-linestring.R
  `linestring("{\"type\": \"LineString\", \"coordinates\": []}")` did not throw an error.
  
  -- 10. Failure: linestring fails well with geojson linting on (@test-linestring.
  `linestring("{\"type\": \"LineString\", \"coordinates\": [1]}")` did not throw an error.
  
  -- 11. Failure: multilinestring fails well with geojson linting on (@test-multil
  `multilinestring("{\"type\": \"MultiLineString\", \"coordinates\": [[]]}")` did not throw an error.
  
  -- 12. Failure: multipoint fails well with geojson linting on (@test-multipoint.
  `multipoint("{\"type\": \"MultiPoint\", \"coordinates\": [1]}")` did not throw an error.
  
  -- 13. Failure: multipoint fails well with geojson linting on (@test-multipoint.
  `multipoint("{\"type\": \"MultiFart\", \"coordinates\": []}")` threw an error with unexpected message.
  Expected match: "The type MultiFart is unknown"
  Actual message: "type can not be 'MultiFart'; must be one of 'MultiPoint' or 'Feature'"
  
  -- 14. Failure: multipolygon fails well with geojson linting on (@test-multipoly
  `multipolygon("{\"type\": \"MultiPolygon\", \"coordinates\": [1]}")` did not throw an error.
  
  -- 15. Failure: multipolygon fails well with geojson linting on (@test-multipoly
  `multipolygon("{\"type\": \"Multipolygon\", \"coordinates\": []}")` threw an error with unexpected message.
  Expected match: "Expected MultiPolygon"
  Actual message: "type can not be 'Multipolygon'; must be one of 'MultiPolygon' or 'Feature'"
  
  -- 16. Failure: point fails well with geojson linting on (@test-point.R#65)  ---
  `point("{\"type\": \"Point\", \"coordinates\": []}")` did not throw an error.
  
  -- 17. Failure: point fails well with geojson linting on (@test-point.R#68)  ---
  `point("{\"type\": \"Point\", \"coordinates\": [1]}")` did not throw an error.
  
  -- 18. Failure: point fails well with geojson linting on (@test-point.R#71)  ---
  `point("{\"type\": \"point\", \"coordinates\": []}")` threw an error with unexpected message.
  Expected match: "Expected Point"
  Actual message: "type can not be 'point'; must be one of 'Point' or 'Feature'"
  
  -- 19. Failure: polygon fails well with geojson linting on (@test-polygon.R#71) 
  `polygon("{\"type\": \"Polygon\", \"coordinates\": [[100.0,0.0],[101.0,0.0]]}")` did not throw an error.
  
  -- 20. Failure: polygon fails well with geojson linting on (@test-polygon.R#74) 
  `polygon("{\"type\": \"Polygon\", \"coordinates\": [[]]}")` did not throw an error.
  
  -- 21. Failure: polygon fails well with geojson linting on (@test-polygon.R#77) 
  `polygon("{\"type\": \"Polygon\", \"coordinates\": [[1]]}")` did not throw an error.
  
  -- 22. Failure: polygon fails well with geojson linting on (@test-polygon.R#80) 
  `polygon("{\"type\": \"polygon\", \"coordinates\": [[]]}")` threw an error with unexpected message.
  Expected match: "Expected Polygon"
  Actual message: "type can not be 'polygon'; must be one of 'Polygon' or 'Feature'"
  
  == testthat results  ===========================================================
  OK: 593 SKIPPED: 0 FAILED: 22
  1. Failure: linestring fails well with geojson linting on (@test-feature.R#61) 
  2. Failure: linestring fails well with geojson linting on (@test-feature.R#64) 
  3. Failure: linestring fails well with geojson linting on (@test-feature.R#67) 
  4. Failure: linestring fails well with geojson linting on (@test-feature.R#70) 
  5. Failure: linestring fails well with geojson linting on (@test-feature.R#73) 
  6. Failure: featurecollection fails well with geojson linting on (@test-featurecollection.R#60) 
  7. Failure: featurecollection fails well with geojson linting on (@test-featurecollection.R#63) 
  8. Failure: geometrycollection fails well with geojson linting on (@test-geometrycollection.R#77) 
  9. Failure: linestring fails well with geojson linting on (@test-linestring.R#53) 
  1. ...
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In for (i in seq_len(n)) { :
    closing unused connection 4 (/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/geojson/examples/linestring_one.geojson)
  2: In for (i in seq_len(n)) { :
    closing unused connection 3 (/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/geojson/examples/linestring_one.geojson)
  3: In for (n in impnames) if (!is.null(genImp <- impenv[[n]])) { :
    closing unused connection 3 (/tmp/RtmprI39CG/file7dbb15bb73b4)
  4: In for (i in seq_along(dynLibs)) { :
    closing unused connection 6 (/tmp/RtmprI39CG/file7dbb1ff21a19)
  5: In for (i in seq_along(dynLibs)) { :
    closing unused connection 5 (/tmp/RtmprI39CG/file7dbb3045610f)
  Execution halted