CRAN Package Check Results for Package geojsonio

Last updated on 2020-02-15 01:01:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.0 12.74 184.32 197.06 OK
r-devel-linux-x86_64-debian-gcc 0.9.0 9.50 151.32 160.82 OK
r-devel-linux-x86_64-fedora-clang 0.9.0 238.50 OK
r-devel-linux-x86_64-fedora-gcc 0.9.0 236.95 OK
r-devel-windows-ix86+x86_64 0.8.0 30.00 149.00 179.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.8.0 61.00 215.00 276.00 OK
r-patched-linux-x86_64 0.9.0 12.06 174.45 186.51 OK
r-patched-solaris-x86 0.9.0 194.60 NOTE
r-release-linux-x86_64 0.8.0 11.23 168.73 179.96 ERROR
r-release-windows-ix86+x86_64 0.8.0 24.00 135.00 159.00 OK
r-release-osx-x86_64 0.8.0 OK
r-oldrel-windows-ix86+x86_64 0.8.0 17.00 130.00 147.00 OK
r-oldrel-osx-x86_64 0.8.0 OK

Check Details

Version: 0.9.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/77s]
    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...
    
     ── 2. Failure: geojson_read works with file inputs (@test-geojson_read.R#12) ──
     aa$crs inherits from `NULL` not `list`.
    
     ── 3. 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
    
     ── 4. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#
     aa$crs inherits from `NULL` not `list`.
    
     ── 5. 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: 395 | SKIPPED: 30 | WARNINGS: 0 | FAILED: 5 ]
     1. Failure: as.json works with geojson class inputs (@test-as.json.R#52)
     2. Failure: geojson_read works with file inputs (@test-geojson_read.R#12)
     3. Failure: geojson_read works with file inputs (@test-geojson_read.R#16)
     4. Failure: geojson_read works with as.location inputs (@test-geojson_read.R#38)
     5. 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