Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(geojsonR)
  > 
  > test_check("geojsonR")
  Input Feature: 1  --  Attribute: 'type'  --  Data type: 'string'
  Input Feature: 1  --  Attribute: 'id'  --  Data type: 'int'
  Input Feature: 1  --  'id' attribute-NAME: '1'
  Input Feature: 1  --  Attribute: 'properties'  --  Data type: 'list'
  Input Feature: 1  --  Attribute: 'geometry'  --  Data type: 'list'
  Input Feature: 1  --  POLYGON WITHOUT INTERIOR Rings!
  Input Feature: 2  --  Attribute: 'type'  --  Data type: 'string'
  Input Feature: 2  --  Attribute: 'id'  --  Data type: 'int'
  Input Feature: 2  --  'id' attribute-NAME: '2'
  Input Feature: 2  --  Attribute: 'properties'  --  Data type: 'list'
  Input Feature: 2  --  Attribute: 'geometry'  --  Data type: 'list'
  Input Feature: 2  --  POLYGON with INTERIOR Rings!
  Input Feature: 3  --  Attribute: 'type'  --  Data type: 'string'
  Input Feature: 3  --  Attribute: 'id'  --  Data type: 'int'
  Input Feature: 3  --  'id' attribute-NAME: '3'
  Input Feature: 3  --  Attribute: 'properties'  --  Data type: 'list'
  Input Feature: 3  --  Attribute: 'geometry'  --  Data type: 'list'
  Input Feature: 3  --  MULTIPOLYGON!!
  Input Feature: 4  --  Attribute: 'type'  --  Data type: 'string'
  Input Feature: 4  --  Attribute: 'id'  --  Data type: 'int'
  Input Feature: 4  --  'id' attribute-NAME: '4'
  Input Feature: 4  --  Attribute: 'properties'  --  Data type: 'list'
  Input Feature: 4  --  Attribute: 'geometry'  --  Data type: 'list'
  Input Feature: 4  --  MULTIPOLYGON!!
  Input Feature: 4  --  POLYGON with INTERIOR Rings!
  -- 1. Failure: the 'save_R_list_Features_2_FeatureCollection' function works as 
  all(c(plg_wo_int, plg_with_int, mlt_plg_wo_int, mlt_plg_with_int)) isn't true.
  
  == testthat results  ===========================================================
  [ OK: 58 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 1 ]
  1. Failure: the 'save_R_list_Features_2_FeatureCollection' function works as expected (Be aware that the sample input matrices MUST have 2 columns to resemble lat-lon values, otherwise an error will be raised) (@test-geojson.R#899) 
  
  Error: testthat unit tests failed
  Execution halted