Running ‘test-all.R’ [31s/43s]
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. Failure: works with sf (@test-crs_convert.R#20) -----------------------------
  st_crs(convert_wgs84(sf_3005))[["proj4string"]] not equal to "+proj=longlat +datum=WGS84 +no_defs".
  1/1 mismatches
  x[1]: "+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
  y[1]: "+proj=longlat +datum=WGS84 +no_defs"
  
  
  2. Failure: works with sfc (@test-crs_convert.R#30) ----------------------------
  st_crs(convert_wgs84(sfc))[["proj4string"]] not equal to "+proj=longlat +datum=WGS84 +no_defs".
  1/1 mismatches
  x[1]: "+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
  y[1]: "+proj=longlat +datum=WGS84 +no_defs"
  
  
  3. Failure: allows supplying a CRS with sf (@test-crs_convert.R#48) ------------
  st_crs(convert_wgs84(sf, crs = 3005))[["proj4string"]] not equal to "+proj=longlat +datum=WGS84 +no_defs".
  1/1 mismatches
  x[1]: "+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
  y[1]: "+proj=longlat +datum=WGS84 +no_defs"
  
  
  4. Failure: allows supplying a CRS with sfc (@test-crs_convert.R#53) -----------
  st_crs(convert_wgs84(sfc, crs = 3005))[["proj4string"]] not equal to "+proj=longlat +datum=WGS84 +no_defs".
  1/1 mismatches
  x[1]: "+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
  y[1]: "+proj=longlat +datum=WGS84 +no_defs"
  
  
  testthat results ================================================================
  OK: 385 SKIPPED: 28 FAILED: 4
  1. Failure: works with sf (@test-crs_convert.R#20) 
  2. Failure: works with sfc (@test-crs_convert.R#30) 
  3. Failure: allows supplying a CRS with sf (@test-crs_convert.R#48) 
  4. Failure: allows supplying a CRS with sfc (@test-crs_convert.R#53) 
  
  Error: testthat unit tests failed
  Execution halted