CRAN Package Check Results for Package geojsonio

Last updated on 2020-01-24 14:47:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.0 12.28 179.56 191.84 ERROR
r-devel-linux-x86_64-debian-gcc 0.8.0 10.76 147.77 158.53 ERROR
r-devel-linux-x86_64-fedora-clang 0.8.0 229.61 OK
r-devel-linux-x86_64-fedora-gcc 0.8.0 227.31 OK
r-devel-windows-ix86+x86_64 0.8.0 33.00 195.00 228.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.8.0 50.00 159.00 209.00 OK
r-patched-linux-x86_64 0.8.0 10.82 171.18 182.00 OK
r-patched-solaris-x86 0.8.0 200.00 NOTE
r-release-linux-x86_64 0.8.0 10.69 169.66 180.35 ERROR
r-release-windows-ix86+x86_64 0.8.0 25.00 135.00 160.00 OK
r-release-osx-x86_64 0.8.0 OK
r-oldrel-windows-ix86+x86_64 0.8.0 17.00 131.00 148.00 OK
r-oldrel-osx-x86_64 0.8.0 OK

Check Details

Version: 0.8.0
Check: tests
Result: ERROR
     Running 'test-all.R' [77s/85s]
    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: as.json works with geojson class inputs (@test-as.json.R#52) ---
     unclass(as.json(e, verbose = FALSE)) not equal to "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"Feature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}".
     1/1 mismatches
     x[1]: "{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\
     x[1]: ":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coor
     x[1]: dinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\
     x[1]: ",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\"
     x[1]: ,\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}"
     y[1]: "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\"
     y[1]: :{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"F
     y[1]: eature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Po
     y[1]: lygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"typ
     y[1]: e\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"t...
    
     OGR: Corrupt data
     -- 2. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_conver
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     5. geojsonio:::geojson_list.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     7. geojsonio:::convert_wgs84.sf(input, crs)
     8. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     10. sf:::st_transform.sf(x, 4326)
     12. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     13. sf:::Ops.crs(crs, st_crs(x))
     14. sf:::Ops.crs(e1, e2)
     15. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     OGR: Corrupt data
     -- 3. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_conver
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     6. geojsonio:::geojson_json.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     14. geojsonio:::geojson_list.sf(...)
     16. geojsonio:::convert_wgs84.sf(input, crs)
     17. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     19. sf:::st_transform.sf(x, 4326)
     21. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     22. sf:::Ops.crs(crs, st_crs(x))
     23. sf:::Ops.crs(e1, e2)
     24. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     OGR: Corrupt data
     -- 4. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_conve
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     7. geojsonio:::geojson_write.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     10. geojsonio:::geojson_list.sf(...)
     12. geojsonio:::convert_wgs84.sf(input, crs)
     13. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     15. sf:::st_transform.sf(x, 4326)
     17. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     18. sf:::Ops.crs(crs, st_crs(x))
     19. sf:::Ops.crs(e1, e2)
     20. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     -- 5. Failure: geojson_read works with file inputs (@test-geojson_read.R#12) --
     aa$crs inherits from `NULL` not `list`.
    
     -- 6. Failure: geojson_read works with file inputs (@test-geojson_read.R#16) --
     sort(names(aa)) not equal to `top_names`.
     Lengths differ: 3 is not 4
    
     -- 7. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
     aa$crs inherits from `NULL` not `list`.
    
     -- 8. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
     sort(names(aa)) not equal to `top_names`.
     Lengths differ: 3 is not 4
    
     == testthat results ===========================================================
     [ OK: 392 | SKIPPED: 30 | WARNINGS: 3 | FAILED: 8 ]
     1. Failure: as.json works with geojson class inputs (@test-as.json.R#52)
     2. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_convert.R#103)
     3. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_convert.R#131)
     4. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_convert.R#161)
     5. Failure: geojson_read works with file inputs (@test-geojson_read.R#12)
     6. Failure: geojson_read works with file inputs (@test-geojson_read.R#16)
     7. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#38)
     8. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#42)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.8.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [66s/95s]
    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: as.json works with geojson class inputs (@test-as.json.R#52) ───
     unclass(as.json(e, verbose = FALSE)) not equal to "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"Feature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}".
     1/1 mismatches
     x[1]: "{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\
     x[1]: ":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coor
     x[1]: dinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\
     x[1]: ",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\"
     x[1]: ,\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}"
     y[1]: "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\"
     y[1]: :{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"F
     y[1]: eature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Po
     y[1]: lygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"typ
     y[1]: e\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"t...
    
     OGR: Corrupt data
     ── 2. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_conver
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     5. geojsonio:::geojson_list.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     7. geojsonio:::convert_wgs84.sf(input, crs)
     8. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     10. sf:::st_transform.sf(x, 4326)
     12. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     13. sf:::Ops.crs(crs, st_crs(x))
     14. sf:::Ops.crs(e1, e2)
     15. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     OGR: Corrupt data
     ── 3. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_conver
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     6. geojsonio:::geojson_json.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     14. geojsonio:::geojson_list.sf(...)
     16. geojsonio:::convert_wgs84.sf(input, crs)
     17. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     19. sf:::st_transform.sf(x, 4326)
     21. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     22. sf:::Ops.crs(crs, st_crs(x))
     23. sf:::Ops.crs(e1, e2)
     24. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     OGR: Corrupt data
     ── 4. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_conve
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     7. geojsonio:::geojson_write.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     10. geojsonio:::geojson_list.sf(...)
     12. geojsonio:::convert_wgs84.sf(input, crs)
     13. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     15. sf:::st_transform.sf(x, 4326)
     17. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     18. sf:::Ops.crs(crs, st_crs(x))
     19. sf:::Ops.crs(e1, e2)
     20. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     ── 5. Failure: geojson_read works with file inputs (@test-geojson_read.R#12) ──
     aa$crs inherits from `NULL` not `list`.
    
     ── 6. Failure: geojson_read works with file inputs (@test-geojson_read.R#16) ──
     sort(names(aa)) not equal to `top_names`.
     Lengths differ: 3 is not 4
    
     ── 7. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
     aa$crs inherits from `NULL` not `list`.
    
     ── 8. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
     sort(names(aa)) not equal to `top_names`.
     Lengths differ: 3 is not 4
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 392 | SKIPPED: 30 | WARNINGS: 3 | FAILED: 8 ]
     1. Failure: as.json works with geojson class inputs (@test-as.json.R#52)
     2. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_convert.R#103)
     3. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_convert.R#131)
     4. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_convert.R#161)
     5. Failure: geojson_read works with file inputs (@test-geojson_read.R#12)
     6. Failure: geojson_read works with file inputs (@test-geojson_read.R#16)
     7. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#38)
     8. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#42)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.8.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘RPostgres’
Flavor: r-patched-solaris-x86

Version: 0.8.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [74s/79s]
    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: as.json works with geojson class inputs (@test-as.json.R#52) ───
     unclass(as.json(e, verbose = FALSE)) not equal to "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"Feature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}".
     1/1 mismatches
     x[1]: "{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\
     x[1]: ":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\",\"coor
     x[1]: dinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"type\":\"Feature\
     x[1]: ",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Polygon\"
     x[1]: ,\"coordinates\":[[[-90,30],[-80,40],[-75,35],[-90,30]]]}}]}"
     y[1]: "{\"type\":\"FeatureCollection\",\"crs\":{\"type\":\"name\",\"properties\"
     y[1]: :{\"name\":\"urn:ogc:def:crs:OGC:1.3:CRS84\"}},\"features\":[{\"type\":\"F
     y[1]: eature\",\"id\":1,\"properties\":{\"dummy\":0},\"geometry\":{\"type\":\"Po
     y[1]: lygon\",\"coordinates\":[[[-100,40],[-90,50],[-85,45],[-100,40]]]}},{\"typ
     y[1]: e\":\"Feature\",\"id\":2,\"properties\":{\"dummy\":0},\"geometry\":{\"t...
    
     OGR: Corrupt data
     ── 2. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_conver
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     5. geojsonio:::geojson_list.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     7. geojsonio:::convert_wgs84.sf(input, crs)
     8. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     10. sf:::st_transform.sf(x, 4326)
     12. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     13. sf:::Ops.crs(crs, st_crs(x))
     14. sf:::Ops.crs(e1, e2)
     15. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     OGR: Corrupt data
     ── 3. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_conver
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     6. geojsonio:::geojson_json.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     14. geojsonio:::geojson_list.sf(...)
     16. geojsonio:::convert_wgs84.sf(input, crs)
     17. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     19. sf:::st_transform.sf(x, 4326)
     21. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     22. sf:::Ops.crs(crs, st_crs(x))
     23. sf:::Ops.crs(e1, e2)
     24. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     OGR: Corrupt data
     ── 4. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_conve
     OGR error
     Backtrace:
     1. testthat::expect_equal(...)
     7. geojsonio:::geojson_write.sf(sf_3005, convert_wgs84 = TRUE, crs = 3005)
     10. geojsonio:::geojson_list.sf(...)
     12. geojsonio:::convert_wgs84.sf(input, crs)
     13. geojsonio:::convert_wgs84_sf_sfc(x, crs = crs)
     15. sf:::st_transform.sf(x, 4326)
     17. sf:::st_transform.sfc(st_geometry(x), crs, ...)
     18. sf:::Ops.crs(crs, st_crs(x))
     19. sf:::Ops.crs(e1, e2)
     20. sf:::CPL_crs_equivalent(e1$proj4string, e2$proj4string)
    
     ── 5. Failure: geojson_read works with file inputs (@test-geojson_read.R#12) ──
     aa$crs inherits from `NULL` not `list`.
    
     ── 6. Failure: geojson_read works with file inputs (@test-geojson_read.R#16) ──
     sort(names(aa)) not equal to `top_names`.
     Lengths differ: 3 is not 4
    
     ── 7. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
     aa$crs inherits from `NULL` not `list`.
    
     ── 8. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
     sort(names(aa)) not equal to `top_names`.
     Lengths differ: 3 is not 4
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 392 | SKIPPED: 30 | WARNINGS: 3 | FAILED: 8 ]
     1. Failure: as.json works with geojson class inputs (@test-as.json.R#52)
     2. Error: geojson_list: convert_wgs84 works with sf classes (@test-crs_convert.R#103)
     3. Error: geojson_json: convert_wgs84 works with sf classes (@test-crs_convert.R#131)
     4. Error: geojson_write: convert_wgs84 works with sf classes (@test-crs_convert.R#161)
     5. Failure: geojson_read works with file inputs (@test-geojson_read.R#12)
     6. Failure: geojson_read works with file inputs (@test-geojson_read.R#16)
     7. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#38)
     8. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#42)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64