CRAN Package Check Results for Package jpndistrict

Last updated on 2020-03-27 00:49:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.4 7.35 131.86 139.21 OK
r-devel-linux-x86_64-debian-gcc 0.3.4 5.93 99.99 105.92 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.4 282.70 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.4 289.93 ERROR
r-devel-windows-ix86+x86_64 0.3.4 24.00 142.00 166.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.3.4 19.00 162.00 181.00 OK
r-patched-linux-x86_64 0.3.4 6.59 114.85 121.44 ERROR
r-patched-solaris-x86 0.3.4 365.00 ERROR
r-release-linux-x86_64 0.3.4 6.62 115.88 122.50 ERROR
r-release-windows-ix86+x86_64 0.3.4 23.00 198.00 221.00 OK
r-release-osx-x86_64 0.3.4 NOTE
r-oldrel-windows-ix86+x86_64 0.3.4 18.00 206.00 224.00 OK
r-oldrel-osx-x86_64 0.3.4 NOTE

Check Details

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [53s/79s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(jpndistrict)
     This package provide map data is based on the Digital Map 25000 (Map
     Image) published by Geospatial Information Authority of Japan (Approval
     No.603FY2017 information usage <http://www.gsi.go.jp>)
     >
     > test_check("jpndistrict")
     ── 1. Failure: prefecture (@test-find_city.R#10) ──────────────────────────────
     sf::st_crs(test) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 2. Failure: jpn_pref (@test-spdf_jpn.R#37) ─────────────────────────────────
     sf::st_crs(df_pref) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 3. Failure: jpn_pref (@test-spdf_jpn.R#48) ─────────────────────────────────
     sf::st_crs(df_pref2) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 4. Failure: jpn_cities (@test-spdf_jpn.R#79) ───────────────────────────────
     sf::st_crs(df_city) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     trying URL 'http://nlftp.mlit.go.jp/ksj/gml/data/P34/P34-14/P34-14_47_GML.zip'
     Content type 'application/zip' length 9427 bytes
     ==================================================
     downloaded 9427 bytes
    
     options: ENCODING=cp932
     Reading layer `P34-14_47' from data source `/home/hornik/tmp/scratch/Rtmp7a1tti/P34-14_47_GML/P34-14_47.shp' using driver `ESRI Shapefile'
     Simple feature collection with 65 features and 4 fields
     geometry type: POINT
     dimension: XY
     bbox: xmin: 123.0045 ymin: 24.06092 xmax: 131.2989 ymax: 27.03917
     geographic CRS: JGD2000
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 94 | SKIPPED: 1 | WARNINGS: 25 | FAILED: 4 ]
     1. Failure: prefecture (@test-find_city.R#10)
     2. Failure: jpn_pref (@test-spdf_jpn.R#37)
     3. Failure: jpn_pref (@test-spdf_jpn.R#48)
     4. Failure: jpn_cities (@test-spdf_jpn.R#79)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.4
Check: data for non-ASCII characters
Result: NOTE
     Note: found 188 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [195s/505s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(jpndistrict)
     This package provide map data is based on the Digital Map 25000 (Map
     Image) published by Geospatial Information Authority of Japan (Approval
     No.603FY2017 information usage <http://www.gsi.go.jp>)
     >
     > test_check("jpndistrict")
     ── 1. Error: prefecture (@test-find_city.R#5) ─────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict::find_pref(longitude = 130.4412895, latitude = 30.2984335)
     21. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     23. units:::as_units.character(mesh_size, "km")
     24. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 2. Error: Failed (@test-find_city.R#34) ────────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. testthat::expect_message(...)
     26. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     28. units:::as_units.character(mesh_size, "km")
     29. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 3. Error: city (@test-find_city.R#49) ──────────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict::find_city(longitude = 130.4412895, latitude = 30.2984335)
     20. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     22. units:::as_units.character(mesh_size, "km")
     23. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 4. Failure: jpn_pref (@test-spdf_jpn.R#37) ─────────────────────────────────
     sf::st_crs(df_pref) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 5. Failure: jpn_pref (@test-spdf_jpn.R#48) ─────────────────────────────────
     sf::st_crs(df_pref2) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 6. Failure: jpn_cities (@test-spdf_jpn.R#79) ───────────────────────────────
     sf::st_crs(df_city) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     trying URL 'http://nlftp.mlit.go.jp/ksj/gml/data/P34/P34-14/P34-14_47_GML.zip'
     Content type 'application/zip' length 9427 bytes
     ==================================================
     downloaded 9427 bytes
    
     options: ENCODING=cp932
     Reading layer `P34-14_47' from data source `/tmp/Rtmp0VYsN7/working_dir/RtmpdfFFX4/P34-14_47_GML/P34-14_47.shp' using driver `ESRI Shapefile'
     Simple feature collection with 65 features and 4 fields
     geometry type: POINT
     dimension: XY
     bbox: xmin: 123.0045 ymin: 24.06092 xmax: 131.2989 ymax: 27.03917
     CRS: 4612
     ── 7. Error: reverge-geo coding (@test-util.R#130) ────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict:::which_pol_min(longitude = 130.4412895, latitude = 30.2984335)
     19. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     21. units:::as_units.character(mesh_size, "km")
     22. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 65 | SKIPPED: 1 | WARNINGS: 15 | FAILED: 7 ]
     1. Error: prefecture (@test-find_city.R#5)
     2. Error: Failed (@test-find_city.R#34)
     3. Error: city (@test-find_city.R#49)
     4. Failure: jpn_pref (@test-spdf_jpn.R#37)
     5. Failure: jpn_pref (@test-spdf_jpn.R#48)
     6. Failure: jpn_cities (@test-spdf_jpn.R#79)
     7. Error: reverge-geo coding (@test-util.R#130)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [203s/521s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(jpndistrict)
     This package provide map data is based on the Digital Map 25000 (Map
     Image) published by Geospatial Information Authority of Japan (Approval
     No.603FY2017 information usage <http://www.gsi.go.jp>)
     >
     > test_check("jpndistrict")
     ── 1. Error: prefecture (@test-find_city.R#5) ─────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict::find_pref(longitude = 130.4412895, latitude = 30.2984335)
     21. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     23. units:::as_units.character(mesh_size, "km")
     24. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 2. Error: Failed (@test-find_city.R#34) ────────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. testthat::expect_message(...)
     26. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     28. units:::as_units.character(mesh_size, "km")
     29. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 3. Error: city (@test-find_city.R#49) ──────────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict::find_city(longitude = 130.4412895, latitude = 30.2984335)
     20. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     22. units:::as_units.character(mesh_size, "km")
     23. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 4. Failure: jpn_pref (@test-spdf_jpn.R#37) ─────────────────────────────────
     sf::st_crs(df_pref) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 5. Failure: jpn_pref (@test-spdf_jpn.R#48) ─────────────────────────────────
     sf::st_crs(df_pref2) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 6. Failure: jpn_cities (@test-spdf_jpn.R#79) ───────────────────────────────
     sf::st_crs(df_city) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     trying URL 'http://nlftp.mlit.go.jp/ksj/gml/data/P34/P34-14/P34-14_47_GML.zip'
     Content type 'application/zip' length 9427 bytes
     ==================================================
     downloaded 9427 bytes
    
     options: ENCODING=cp932
     Reading layer `P34-14_47' from data source `/tmp/Rtmps8sEOZ/working_dir/RtmpWKcv2A/P34-14_47_GML/P34-14_47.shp' using driver `ESRI Shapefile'
     Simple feature collection with 65 features and 4 fields
     geometry type: POINT
     dimension: XY
     bbox: xmin: 123.0045 ymin: 24.06092 xmax: 131.2989 ymax: 27.03917
     CRS: 4612
     ── 7. Error: reverge-geo coding (@test-util.R#130) ────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict:::which_pol_min(longitude = 130.4412895, latitude = 30.2984335)
     19. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     21. units:::as_units.character(mesh_size, "km")
     22. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 65 | SKIPPED: 1 | WARNINGS: 15 | FAILED: 7 ]
     1. Error: prefecture (@test-find_city.R#5)
     2. Error: Failed (@test-find_city.R#34)
     3. Error: city (@test-find_city.R#49)
     4. Failure: jpn_pref (@test-spdf_jpn.R#37)
     5. Failure: jpn_pref (@test-spdf_jpn.R#48)
     6. Failure: jpn_cities (@test-spdf_jpn.R#79)
     7. Error: reverge-geo coding (@test-util.R#130)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [61s/69s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(jpndistrict)
     This package provide map data is based on the Digital Map 25000 (Map
     Image) published by Geospatial Information Authority of Japan (Approval
     No.603FY2017 information usage <http://www.gsi.go.jp>)
     >
     > test_check("jpndistrict")
     ── 1. Failure: prefecture (@test-find_city.R#10) ──────────────────────────────
     sf::st_crs(test) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 2. Failure: jpn_pref (@test-spdf_jpn.R#37) ─────────────────────────────────
     sf::st_crs(df_pref) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 3. Failure: jpn_pref (@test-spdf_jpn.R#48) ─────────────────────────────────
     sf::st_crs(df_pref2) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 4. Failure: jpn_cities (@test-spdf_jpn.R#79) ───────────────────────────────
     sf::st_crs(df_city) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     trying URL 'http://nlftp.mlit.go.jp/ksj/gml/data/P34/P34-14/P34-14_47_GML.zip'
     Content type 'application/zip' length 9427 bytes
     ==================================================
     downloaded 9427 bytes
    
     options: ENCODING=cp932
     Reading layer `P34-14_47' from data source `/tmp/Rtmp5y2oIu/P34-14_47_GML/P34-14_47.shp' using driver `ESRI Shapefile'
     Simple feature collection with 65 features and 4 fields
     geometry type: POINT
     dimension: XY
     bbox: xmin: 123.0045 ymin: 24.06092 xmax: 131.2989 ymax: 27.03917
     geographic CRS: JGD2000
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 94 | SKIPPED: 1 | WARNINGS: 25 | FAILED: 4 ]
     1. Failure: prefecture (@test-find_city.R#10)
     2. Failure: jpn_pref (@test-spdf_jpn.R#37)
     3. Failure: jpn_pref (@test-spdf_jpn.R#48)
     4. Failure: jpn_cities (@test-spdf_jpn.R#79)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [226s/282s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(jpndistrict)
     This package provide map data is based on the Digital Map 25000 (Map
     Image) published by Geospatial Information Authority of Japan (Approval
     No.603FY2017 information usage <http://www.gsi.go.jp>)
     >
     > test_check("jpndistrict")
     ── 1. Error: prefecture (@test-find_city.R#5) ─────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict::find_pref(longitude = 130.4412895, latitude = 30.2984335)
     21. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     23. units:::as_units.character(mesh_size, "km")
     24. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 2. Error: Failed (@test-find_city.R#34) ────────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. testthat::expect_message(...)
     26. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     28. units:::as_units.character(mesh_size, "km")
     29. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 3. Error: city (@test-find_city.R#49) ──────────────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict::find_city(longitude = 130.4412895, latitude = 30.2984335)
     20. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     22. units:::as_units.character(mesh_size, "km")
     23. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ── 4. Failure: jpn_pref (@test-spdf_jpn.R#37) ─────────────────────────────────
     sf::st_crs(df_pref) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 5. Failure: jpn_pref (@test-spdf_jpn.R#48) ─────────────────────────────────
     sf::st_crs(df_pref2) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 6. Failure: jpn_cities (@test-spdf_jpn.R#79) ───────────────────────────────
     sf::st_crs(df_city) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     trying URL 'http://nlftp.mlit.go.jp/ksj/gml/data/P34/P34-14/P34-14_47_GML.zip'
     Content type 'application/zip' length 9427 bytes
     ==================================================
     downloaded 9427 bytes
    
     options: ENCODING=cp932
     Reading layer `P34-14_47' from data source `/tmp/Rtmp2IaO7t/working_dir/RtmpklaqUI/P34-14_47_GML/P34-14_47.shp' using driver `ESRI Shapefile'
     Simple feature collection with 65 features and 4 fields
     geometry type: POINT
     dimension: XY
     bbox: xmin: 123.0045 ymin: 24.06092 xmax: 131.2989 ymax: 27.03917
     proj4string: +proj=longlat +ellps=GRS80 +no_defs
     ── 7. Error: reverge-geo coding (@test-util.R#130) ────────────────────────────
     argument is not interpretable as logical
     Backtrace:
     1. jpndistrict:::which_pol_min(longitude = 130.4412895, latitude = 30.2984335)
     19. jpmesh::coords_to_mesh(longitude, latitude, mesh_size = "80km")
     21. units:::as_units.character(mesh_size, "km")
     22. units:::as_units.call(expr, check_is_valid = check_is_valid)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 65 | SKIPPED: 1 | WARNINGS: 15 | FAILED: 7 ]
     1. Error: prefecture (@test-find_city.R#5)
     2. Error: Failed (@test-find_city.R#34)
     3. Error: city (@test-find_city.R#49)
     4. Failure: jpn_pref (@test-spdf_jpn.R#37)
     5. Failure: jpn_pref (@test-spdf_jpn.R#48)
     6. Failure: jpn_cities (@test-spdf_jpn.R#79)
     7. Error: reverge-geo coding (@test-util.R#130)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [62s/68s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(jpndistrict)
     This package provide map data is based on the Digital Map 25000 (Map
     Image) published by Geospatial Information Authority of Japan (Approval
     No.603FY2017 information usage <http://www.gsi.go.jp>)
     >
     > test_check("jpndistrict")
     ── 1. Failure: prefecture (@test-find_city.R#10) ──────────────────────────────
     sf::st_crs(test) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 2. Failure: jpn_pref (@test-spdf_jpn.R#37) ─────────────────────────────────
     sf::st_crs(df_pref) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 3. Failure: jpn_pref (@test-spdf_jpn.R#48) ─────────────────────────────────
     sf::st_crs(df_pref2) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     ── 4. Failure: jpn_cities (@test-spdf_jpn.R#79) ───────────────────────────────
     sf::st_crs(df_city) not identical to `crs_4326`.
     Names: 2 string mismatches
     Component 1: Modes: character, numeric
     Component 1: target is character, current is numeric
     Component 2: 1 string mismatch
    
     trying URL 'http://nlftp.mlit.go.jp/ksj/gml/data/P34/P34-14/P34-14_47_GML.zip'
     Content type 'application/zip' length 9427 bytes
     ==================================================
     downloaded 9427 bytes
    
     options: ENCODING=cp932
     Reading layer `P34-14_47' from data source `/tmp/Rtmpg1HsEy/P34-14_47_GML/P34-14_47.shp' using driver `ESRI Shapefile'
     Simple feature collection with 65 features and 4 fields
     geometry type: POINT
     dimension: XY
     bbox: xmin: 123.0045 ymin: 24.06092 xmax: 131.2989 ymax: 27.03917
     geographic CRS: JGD2000
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 94 | SKIPPED: 1 | WARNINGS: 25 | FAILED: 4 ]
     1. Failure: prefecture (@test-find_city.R#10)
     2. Failure: jpn_pref (@test-spdf_jpn.R#37)
     3. Failure: jpn_pref (@test-spdf_jpn.R#48)
     4. Failure: jpn_cities (@test-spdf_jpn.R#79)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64