Running ‘stub.R’
  Running ‘testthat.R’ [8s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(osmdata)
  Data (c) OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright
  > 
  > test_check("osmdata")
  1. Failure: sfc-point (@test-sf-construction.R#80) -----------------------------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  2. Failure: sf-point (@test-sf-construction.R#85) ------------------------------
  `x` not identical to make_sfc(1:2, "POINT").
  Attributes: < Component "bbox": Attributes: < names for target but not for current > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is bbox, current is numeric >
  
  
  3. Failure: multiple-points (@test-sf-construction.R#106) ----------------------
  `x0` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  4. Failure: sfc-line (@test-sf-construction.R#134) -----------------------------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  5. Failure: sfc-multiple-lines (@test-sf-construction.R#157) -------------------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  6. Failure: sf-multiple-lines-with-fields (@test-sf-construction.R#177) --------
  `x` not identical to `y`.
  Component "x": Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Component "x": Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Component "x": Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  7. Failure: sf-multiple-lines-with-fields (@test-sf-construction.R#184) --------
  `x` not identical to `y`.
  Component "x": Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Component "x": Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Component "x": Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  8. Failure: sfc-polygon (@test-sf-construction.R#202) --------------------------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  9. Failure: sfc-multiple-polygons (@test-sf-construction.R#228) ----------------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  10. Failure: sf-multiple-polygons-with-fields (@test-sf-construction.R#249) ----
  `x` not identical to `y`.
  Component "x": Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Component "x": Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Component "x": Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  11. Failure: sf-multiple-polygons-with-fields (@test-sf-construction.R#257) ----
  `x` not identical to `y`.
  Component "x": Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Component "x": Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Component "x": Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  12. Failure: sfc-multilinestring (@test-sf-construction.R#276) -----------------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  13. Failure: sfc-multiple-multilinestring1 (@test-sf-construction.R#293) -------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  14. Failure: sfc-multiple-multilinestring2 (@test-sf-construction.R#303) -------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  15. Failure: sfc-multipolygon (@test-sf-construction.R#349) --------------------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  16. Failure: sfc-multiple-multipolygons1 (@test-sf-construction.R#366) ---------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  17. Failure: sfc-multiple-multipolygons2 (@test-sf-construction.R#376) ---------
  `x` not identical to `y`.
  Attributes: < Component "bbox": Attributes: < names for current but not for target > >
  Attributes: < Component "bbox": Attributes: < Length mismatch: comparison on first 0 components > >
  Attributes: < Component "bbox": target is numeric, current is bbox >
  
  
  18. Failure: multipolygon (@test-sf-osm.R#41) ----------------------------------
  attr(g, a) not identical to attr(g_sf, a).
  Classes differ: numeric vs bbox
  
  
  19. Failure: multilinestring (@test-sf-osm.R#72) -------------------------------
  attr(g, a) not identical to attr(g_sf, a).
  Classes differ: numeric vs bbox
  
  
  20. Failure: ways (@test-sf-osm.R#105) -----------------------------------------
  attr(g, a) not identical to attr(g_sf, a).
  Classes differ: numeric vs bbox
  
  
  testthat results ================================================================
  OK: 148 SKIPPED: 0 FAILED: 20
  1. Failure: sfc-point (@test-sf-construction.R#80) 
  2. Failure: sf-point (@test-sf-construction.R#85) 
  3. Failure: multiple-points (@test-sf-construction.R#106) 
  4. Failure: sfc-line (@test-sf-construction.R#134) 
  5. Failure: sfc-multiple-lines (@test-sf-construction.R#157) 
  6. Failure: sf-multiple-lines-with-fields (@test-sf-construction.R#177) 
  7. Failure: sf-multiple-lines-with-fields (@test-sf-construction.R#184) 
  8. Failure: sfc-polygon (@test-sf-construction.R#202) 
  9. Failure: sfc-multiple-polygons (@test-sf-construction.R#228) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted