Running 'testthat.R' [2s]
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!
  == Warnings ====================================================================
  -- Warning (test-geojson.R:899:3): 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) --
  coercing argument of type 'character' to logical
  Backtrace:
   1. testthat::expect_true(...) test-geojson.R:899:2
   2. testthat::quasi_label(enquo(object), label, arg = "object")
   3. rlang::eval_bare(expr, quo_get_env(quo))
  
  == Failed tests ================================================================
  -- Failure (test-geojson.R:899:3): 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) --
  all(c(plg_wo_int, plg_with_int, mlt_plg_wo_int, mlt_plg_with_int)) is not TRUE
  
  `actual`:   <NA>
  `expected`: TRUE
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 58 ]
  Error: Test failures
  Execution halted