Running ‘testthat.R’ [565s/566s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("rmapshaper")
  > 
  > test_check("rmapshaper")
  ── 1. Failure: ms_filter_fields works with polygons (@test-filter_fields.R#32)  
  out_sp@data not equal to data.frame(a = 1, b = 2, row.names = 0L).
  Attributes: < Component "row.names": Mean relative difference: 1 >
  
  ── 2. Failure: ms_filter_fields works with lines (@test-filter_fields.R#52)  ───
  out_sp@data not equal to data.frame(a = 1, b = 2, row.names = 0L).
  Attributes: < Component "row.names": Mean relative difference: 1 >
  
  ── 3. Failure: ms_innerlines works with all classes (@test-innerlines.R#45)  ───
  ms_innerlines(poly_spdf) not equal to `expected_sp`.
  Names: 4 string mismatches
  Attributes: < Component "lines": Component 1: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 2: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 3: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 4: Attributes: < Component 1: 1 string mismatch > >
  
  ── 4. Failure: ms_innerlines works with all classes (@test-innerlines.R#46)  ───
  ms_innerlines(poly_sp) not equal to `expected_sp`.
  Names: 4 string mismatches
  Attributes: < Component "lines": Component 1: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 2: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 3: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 4: Attributes: < Component 1: 1 string mismatch > >
  
  ── 5. Failure: ms_lines works with all classes (@test-lines.R#42)  ─────────────
  ms_lines(poly_spdf) not equal to `expected_sp`.
  Attributes: < Component "data": Attributes: < Component "row.names": Mean relative difference: 0.6666667 > >
  Attributes: < Component "lines": Component 1: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 2: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 3: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 4: Attributes: < Component 1: 1 string mismatch > >
  
  ── 6. Failure: ms_lines works with all classes (@test-lines.R#43)  ─────────────
  ms_lines(poly_sp) not equal to as(expected_sp, "SpatialLines").
  Names: 4 string mismatches
  Attributes: < Component "lines": Component 1: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 2: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 3: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 4: Attributes: < Component 1: 1 string mismatch > >
  
  ── 7. Failure: ms_lines works with fields specified (@test-lines.R#62)  ────────
  ms_lines(poly_spdf, "foo") not equal to expected_sp[, setdiff(names(expected_sp), "rmapshaperid")].
  Attributes: < Component "data": Attributes: < Component "row.names": Mean relative difference: 0.6666667 > >
  Attributes: < Component "lines": Component 1: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 2: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 3: Attributes: < Component 1: 1 string mismatch > >
  Attributes: < Component "lines": Component 4: Attributes: < Component 1: 1 string mismatch > >
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 301 SKIPPED: 0 FAILED: 7
  1. Failure: ms_filter_fields works with polygons (@test-filter_fields.R#32) 
  2. Failure: ms_filter_fields works with lines (@test-filter_fields.R#52) 
  3. Failure: ms_innerlines works with all classes (@test-innerlines.R#45) 
  4. Failure: ms_innerlines works with all classes (@test-innerlines.R#46) 
  5. Failure: ms_lines works with all classes (@test-lines.R#42) 
  6. Failure: ms_lines works with all classes (@test-lines.R#43) 
  7. Failure: ms_lines works with fields specified (@test-lines.R#62) 
  
  Error: testthat unit tests failed
  Execution halted