Running 'test-all.R' [25s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library("testthat")
  > library("geojsonio")
  
  Attaching package: 'geojsonio'
  
  The following object is masked from 'package:base':
  
      pretty
  
  > test_check("geojsonio")
  -- 1. Error: works with sf (@test-crs_convert.R#26)  ---------------------------
  argument is of length zero
  Backtrace:
    1. testthat::expect_is(...)
    6. geojsonio:::convert_wgs84.sf(sf_4326)
    7. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
    9. geojsonio:::is_wgs84.sf(x, warn = FALSE)
   11. geojsonio:::is_wgs84.sfc(x[[geom_col]], warn = warn)
  
  -- 2. Error: works with sfc (@test-crs_convert.R#35)  --------------------------
  argument is of length zero
  Backtrace:
    1. testthat::expect_is(...)
    9. geojsonio:::convert_wgs84.sfc(sfc)
   10. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
   12. geojsonio:::is_wgs84.sfc(x, warn = FALSE)
  
  -- 3. Error: allows supplying a CRS with sf (@test-crs_convert.R#57)  ----------
  argument is of length zero
  Backtrace:
    1. testthat::expect_is(...)
    6. geojsonio:::convert_wgs84.sf(sf, crs = 3005)
    7. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
    9. geojsonio:::is_wgs84.sf(x, warn = FALSE)
   11. geojsonio:::is_wgs84.sfc(x[[geom_col]], warn = warn)
  
  -- 4. Error: allows supplying a CRS with sfc (@test-crs_convert.R#62)  ---------
  argument is of length zero
  Backtrace:
   1. testthat::expect_is(...)
   6. geojsonio:::convert_wgs84.sfc(sfc, crs = 3005)
   7. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
   9. geojsonio:::is_wgs84.sfc(x, warn = FALSE)
  
  -- 5. Error: is_wgs84 works with sf (@test-crs_convert.R#67)  ------------------
  argument is of length zero
  Backtrace:
   1. testthat::expect_true(is_wgs84(sf_4326))
   5. geojsonio:::is_wgs84.sf(sf_4326)
   7. geojsonio:::is_wgs84.sfc(x[[geom_col]], warn = warn)
  
  -- 6. Error: is_wgs84 works with sfc (@test-crs_convert.R#74)  -----------------
  argument is of length zero
  Backtrace:
   1. testthat::expect_true(is_wgs84(sfc))
   5. geojsonio:::is_wgs84.sfc(sfc)
  
  -- 7. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_conver
  argument is of length zero
  Backtrace:
    1. testthat::expect_equal(...)
    5. geojsonio:::geojson_list.sf(sf_4326, convert_wgs84 = TRUE)
    7. geojsonio:::convert_wgs84.sf(input, crs)
    8. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
   10. geojsonio:::is_wgs84.sf(x, warn = FALSE)
   12. geojsonio:::is_wgs84.sfc(x[[geom_col]], warn = warn)
  
  -- 8. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_conver
  argument is of length zero
  Backtrace:
    1. testthat::expect_equal(...)
    6. geojsonio:::geojson_json.sf(sf_4326, convert_wgs84 = TRUE)
   14. geojsonio:::geojson_list.sf(...)
   16. geojsonio:::convert_wgs84.sf(input, crs)
   17. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
   19. geojsonio:::is_wgs84.sf(x, warn = FALSE)
   21. geojsonio:::is_wgs84.sfc(x[[geom_col]], warn = warn)
  
  -- 9. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_conve
  argument is of length zero
  Backtrace:
    1. testthat::expect_equal(...)
    7. geojsonio:::geojson_write.sf(sf_4326, convert_wgs84 = TRUE)
   10. geojsonio:::geojson_list.sf(...)
   12. geojsonio:::convert_wgs84.sf(input, crs)
   13. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
   15. geojsonio:::is_wgs84.sf(x, warn = FALSE)
   17. geojsonio:::is_wgs84.sfc(x[[geom_col]], warn = warn)
  
  == testthat results  ===========================================================
  [ OK: 385 | SKIPPED: 23 | WARNINGS: 72 | FAILED: 9 ]
  1. Error: works with sf (@test-crs_convert.R#26) 
  2. Error: works with sfc (@test-crs_convert.R#35) 
  3. Error: allows supplying a CRS with sf (@test-crs_convert.R#57) 
  4. Error: allows supplying a CRS with sfc (@test-crs_convert.R#62) 
  5. Error: is_wgs84 works with sf (@test-crs_convert.R#67) 
  6. Error: is_wgs84 works with sfc (@test-crs_convert.R#74) 
  7. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_convert.R#103) 
  8. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_convert.R#129) 
  9. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_convert.R#159) 
  
  Error: testthat unit tests failed
  Execution halted