Last updated on 2021-07-04 08:50:01 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.2.2 | OK | ||||
r-devel-linux-x86_64-debian-gcc | 1.2.2 | 5.91 | 68.82 | 74.73 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.2.2 | 129.90 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 1.2.2 | 118.78 | NOTE | |||
r-devel-windows-x86_64 | 1.2.2 | 11.00 | 128.00 | 139.00 | OK | |
r-devel-windows-x86_64-gcc10-UCRT | 1.2.2 | NOTE | ||||
r-patched-linux-x86_64 | 1.2.2 | 8.23 | 85.75 | 93.98 | OK | |
r-patched-solaris-x86 | 1.2.2 | 152.30 | ERROR | |||
r-release-linux-x86_64 | 1.2.2 | 5.57 | 85.98 | 91.55 | OK | |
r-release-macos-arm64 | 1.2.2 | NOTE | ||||
r-release-macos-x86_64 | 1.2.2 | NOTE | ||||
r-release-windows-ix86+x86_64 | 1.2.2 | 19.00 | 121.00 | 140.00 | OK | |
r-oldrel-macos-x86_64 | 1.2.2 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 1.2.2 | 21.00 | 130.00 | 151.00 | OK |
Version: 1.2.2
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘purrr’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 1.2.2
Check: examples
Result: ERROR
Running examples in ‘h3jsr-Ex.R’ failed
The error most likely occurred in:
> ### Name: get_children
> ### Title: get child H3 cell indices
> ### Aliases: get_children
>
> ### ** Examples
>
> # What are the children of this resolution 6 cell index at resolution 8?
> get_children(h3_address = '86be8d12fffffff', res = 8)
Error in context_eval(join(src), private$context, serialize) :
TypeError: undefined is not a function
Calls: get_children ... <Anonymous> -> evaluate_js -> get_str_output -> context_eval
Execution halted
Flavor: r-patched-solaris-x86
Version: 1.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(h3jsr)
>
> test_check("h3jsr")
Reading layer `nc' from data source `/home/ripley/R/Lib32/sf/shape/nc.shp' using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
CRS: 4267
Reading layer `nc' from data source `/home/ripley/R/Lib32/sf/shape/nc.shp' using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
CRS: 4267
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (???): get_children returns correctly ─────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_children(h3_address = "86be8d12fffffff", res = 8)
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_children = h3.h3ToChildren(evalThis[i].h3_address, evalThis[i].h3_res);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): get_kring returns correctly ────────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_kring(h3_address = "86be8d12fffffff", ring_size = 2)
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_kring = h3.kRing(evalThis[i].h3_address, evalThis[i].ring_size);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): get_kring_list returns correctly ───────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_kring_list(h3_address = "86be8d12fffffff", ring_size = 2)
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_kringd = h3.kRingDistances(evalThis[i].h3_address, evalThis[i].ring_size);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): get_ring returns correctly ─────────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_ring(h3_address = "86be8d12fffffff", ring_size = 2)
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_ring = h3.hexRing(evalThis[i].h3_address, evalThis[i].ring_size);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): polyfill returns correctly ─────────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. ├─testthat::expect_message(...)
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat:::.capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─h3jsr::polyfill(geometry = sf::st_transform(nc1, 4326), res = 10)
7. └─sesh$eval("var h3_addresses = {};\n for (var i = 0; i < evalThis.features.length; i++) {\n var comp_h3a = [];\n if (evalThis.features[i].geometry.type == \"MultiPolygon\") {\n for (var j = 0; j < evalThis.features[i].geometry.coordinates.length; j++) {\n comp_h3a.push(h3.polyfill(evalThis.features[i].geometry.coordinates[j], res, true));\n }\n h3_addresses[i] = [].concat.apply([], comp_h3a)\n } else {\n h3_addresses[i] = h3.polyfill(evalThis.features[i].geometry.coordinates, res, true);\n }};")
8. └─V8:::evaluate_js(src, serialize = serialize)
9. ├─V8:::get_str_output(...)
10. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): set_to_multipolygon returns correctly ──────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_kring(h3_address = val, ring_size = 2)
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_kring = h3.kRing(evalThis[i].h3_address, evalThis[i].ring_size);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): compact returns correctly ──────────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::polyfill(geometry = nc1, res = 6)
2. └─sesh$eval("var h3_addresses = {};\n for (var i = 0; i < evalThis.features.length; i++) {\n var comp_h3a = [];\n if (evalThis.features[i].geometry.type == \"MultiPolygon\") {\n for (var j = 0; j < evalThis.features[i].geometry.coordinates.length; j++) {\n comp_h3a.push(h3.polyfill(evalThis.features[i].geometry.coordinates[j], res, true));\n }\n h3_addresses[i] = [].concat.apply([], comp_h3a)\n } else {\n h3_addresses[i] = h3.polyfill(evalThis.features[i].geometry.coordinates, res, true);\n }};")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): uncompact returns correctly ────────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::polyfill(geometry = nc1, res = 6)
2. └─sesh$eval("var h3_addresses = {};\n for (var i = 0; i < evalThis.features.length; i++) {\n var comp_h3a = [];\n if (evalThis.features[i].geometry.type == \"MultiPolygon\") {\n for (var j = 0; j < evalThis.features[i].geometry.coordinates.length; j++) {\n comp_h3a.push(h3.polyfill(evalThis.features[i].geometry.coordinates[j], res, true));\n }\n h3_addresses[i] = [].concat.apply([], comp_h3a)\n } else {\n h3_addresses[i] = h3.polyfill(evalThis.features[i].geometry.coordinates, res, true);\n }};")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): grid_path returns correctly ────────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::grid_path("86be8d12fffffff", "86be8d127ffffff")
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].grid_path = h3.h3Line(evalThis[i].origin, evalThis[i].destination);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): h3_to_line returns correctly - data.frame with list-column ─────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_kring_list("8abe8d12acaffff", 4)
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_kringd = h3.kRingDistances(evalThis[i].h3_address, evalThis[i].ring_size);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): get_gcdist performs as expected ────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_gcdist(pt1[1, ], pt2[1, ])
2. └─sesh$eval("var gcd = [];\n for (var i = 0; i < pt1.length; i++) {\n gcd[i] = h3.pointDist(pt1[i], pt2[i], units);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): get_udends returns correctly ───────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_udends("166be8d12fffffff")
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_ends = h3.getH3IndexesFromUnidirectionalEdge(evalThis[i].h3_edge);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
── Error (???): get_udedges returns correctly ──────────────────────────────────
Error: TypeError: undefined is not a function
Backtrace:
█
1. └─h3jsr::get_udedges(h3_address = "86be8d12fffffff")
2. └─sesh$eval("for (var i = 0; i < evalThis.length; i++) {\n evalThis[i].h3_edges = h3.getH3UnidirectionalEdgesFromHexagon(evalThis[i].h3_address);\n };")
3. └─V8:::evaluate_js(src, serialize = serialize)
4. ├─V8:::get_str_output(...)
5. └─V8:::context_eval(join(src), private$context, serialize)
[ FAIL 13 | WARN 4 | SKIP 0 | PASS 255 ]
Error: Test failures
Execution halted
Flavor: r-patched-solaris-x86
Version: 1.2.2
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘intro-to-h3jsr.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
Linking to GEOS 3.6.4, GDAL 2.2.4, PROJ 5.2.0
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Warning in st_centroid.sf(nc) :
st_centroid assumes attributes are constant over geometries of x
Quitting from lines 103-111 (intro-to-h3jsr.Rmd)
Error: processing vignette 'intro-to-h3jsr.Rmd' failed with diagnostics:
TypeError: undefined is not a function
--- failed re-building ‘intro-to-h3jsr.Rmd’
SUMMARY: processing the following file failed:
‘intro-to-h3jsr.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-patched-solaris-x86