Running ‘test-all.R’ [20s/20s]
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-linestring.R#46) 
  linestring("{\"type\": \"LineString\", \"coordinates\": []}") did not throw an error.
  
  
  2. Failure: linestring fails well with geojson linting on (@test-linestring.R#49) 
  linestring("{\"type\": \"LineString\", \"coordinates\": [1]}") did not throw an error.
  
  
  3. Failure: multilinestring fails well with geojson linting on (@test-multilinestring.R#59) 
  multilinestring("{\"type\": \"MultiLineString\", \"coordinates\": [[]]}") did not throw an error.
  
  
  4. Failure: multipoint fails well with geojson linting on (@test-multipoint.R#53) 
  multipoint("{\"type\": \"MultiPoint\", \"coordinates\": [1]}") did not throw an error.
  
  
  5. Failure: multipoint fails well with geojson linting on (@test-multipoint.R#56) 
  error$message does not match "The type MultiFart is unknown".
  Actual value: "type can not be 'MultiFart'; must be one of 'MultiPoint' or 'Feature'"
  
  
  6. Failure: multipolygon fails well with geojson linting on (@test-multipolygon.R#77) 
  multipolygon("{\"type\": \"MultiPolygon\", \"coordinates\": [1]}") did not throw an error.
  
  
  7. Failure: multipolygon fails well with geojson linting on (@test-multipolygon.R#80) 
  error$message does not match "Expected MultiPolygon".
  Actual value: "type can not be 'Multipolygon'; must be one of 'MultiPolygon' or 'Feature'"
  
  
  8. Failure: point fails well with geojson linting on (@test-point.R#58) --------
  point("{\"type\": \"Point\", \"coordinates\": []}") did not throw an error.
  
  
  9. Failure: point fails well with geojson linting on (@test-point.R#61) --------
  point("{\"type\": \"Point\", \"coordinates\": [1]}") did not throw an error.
  
  
  10. Failure: point fails well with geojson linting on (@test-point.R#64) -------
  error$message does not match "Expected Point".
  Actual value: "type can not be 'point'; must be one of 'Point' or 'Feature'"
  
  
  11. Failure: polygon fails well with geojson linting on (@test-polygon.R#61) ---
  polygon("{\"type\": \"Polygon\", \"coordinates\": [[100.0,0.0],[101.0,0.0]]}") did not throw an error.
  
  
  12. Failure: polygon fails well with geojson linting on (@test-polygon.R#64) ---
  polygon("{\"type\": \"Polygon\", \"coordinates\": [[]]}") did not throw an error.
  
  
  13. Failure: polygon fails well with geojson linting on (@test-polygon.R#67) ---
  polygon("{\"type\": \"Polygon\", \"coordinates\": [[1]]}") did not throw an error.
  
  
  14. Failure: polygon fails well with geojson linting on (@test-polygon.R#70) ---
  error$message does not match "Expected Polygon".
  Actual value: "type can not be 'polygon'; must be one of 'Polygon' or 'Feature'"
  
  
  testthat results ================================================================
  OK: 268 SKIPPED: 0 FAILED: 14
  1. Failure: linestring fails well with geojson linting on (@test-linestring.R#46) 
  2. Failure: linestring fails well with geojson linting on (@test-linestring.R#49) 
  3. Failure: multilinestring fails well with geojson linting on (@test-multilinestring.R#59) 
  4. Failure: multipoint fails well with geojson linting on (@test-multipoint.R#53) 
  5. Failure: multipoint fails well with geojson linting on (@test-multipoint.R#56) 
  6. Failure: multipolygon fails well with geojson linting on (@test-multipolygon.R#77) 
  7. Failure: multipolygon fails well with geojson linting on (@test-multipolygon.R#80) 
  8. Failure: point fails well with geojson linting on (@test-point.R#58) 
  9. Failure: point fails well with geojson linting on (@test-point.R#61) 
  1. ...
  
  Error: testthat unit tests failed
  In addition: There were 21 warnings (use warnings() to see them)
  Execution halted