Last updated on 2026-06-20 09:52:47 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.0 | 2.20 | 46.34 | 48.54 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.0 | 1.69 | 28.16 | 29.85 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 59.59 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 4.00 | 55.87 | 59.87 | ERROR | |
| r-devel-windows-x86_64 | 0.1.0 | 4.00 | 66.00 | 70.00 | OK | |
| r-patched-linux-x86_64 | 0.1.0 | 2.65 | 42.92 | 45.57 | OK | |
| r-release-linux-x86_64 | 0.1.0 | 2.15 | 42.61 | 44.76 | OK | |
| r-release-macos-arm64 | 0.1.0 | 1.00 | 13.00 | 14.00 | OK | |
| r-release-macos-x86_64 | 0.1.0 | 2.00 | 42.00 | 44.00 | OK | |
| r-release-windows-x86_64 | 0.1.0 | 5.00 | 64.00 | 69.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.0 | 2.00 | 67.00 | 69.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.0 | 5.00 | 76.00 | 81.00 | OK |
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘duckh3-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ddbh3_get_child_pos
> ### Title: Get the position of an H3 cell within its parent
> ### Aliases: ddbh3_get_child_pos
>
> ### ** Examples
>
> ## Load needed packages
> library(duckh3)
> library(dplyr)
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
>
> ## Setup the default connection with h3 and spatial extensions
> ## This is a mandatory step to use duckh3 functions
> ddbh3_default_conn(threads = 1)
Error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckh3::ddbh3_default_conn(threads = 1)
2. └─duckspatial::ddbs_create_conn(...)
3. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
4. └─cli::cli_abort(...)
5. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(duckh3)
>
> test_check("duckh3")
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─testthat::test_check("duckh3")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_serial(...)
5. └─testthat:::test_files_setup_state(...)
6. └─testthat::source_test_setup(".", env)
7. └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. └─base::lapply(...)
9. └─testthat (local) FUN(X[[i]], ...)
10. └─testthat::source_file(...)
11. ├─base::withCallingHandlers(...)
12. └─base::eval(exprs, env)
13. └─base::eval(exprs, env)
14. └─duckh3::ddbh3_default_conn() at ./setup.R:12:1
15. └─duckspatial::ddbs_create_conn(...)
16. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘duckh3-Ex.R’ failed
The error most likely occurred in:
> ### Name: ddbh3_get_child_pos
> ### Title: Get the position of an H3 cell within its parent
> ### Aliases: ddbh3_get_child_pos
>
> ### ** Examples
>
> ## Load needed packages
> library(duckh3)
> library(dplyr)
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
>
> ## Setup the default connection with h3 and spatial extensions
> ## This is a mandatory step to use duckh3 functions
> ddbh3_default_conn(threads = 1)
[gannet:273794:0:273794] Caught signal 11 (Segmentation fault: Sent by the kernel at address (nil))
==== backtrace (tid: 273794) ====
0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7ff86d1b7df4]
1 /lib64/libucs.so.0(+0x17aed) [0x7ff86d1b9aed]
2 /lib64/libucs.so.0(+0x17cbd) [0x7ff86d1b9cbd]
3 /lib64/libc.so.6(+0x1a040) [0x7ff882a29040]
4 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1198570) [0x7ff75a798570]
5 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168568) [0x7ff75a768568]
6 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773384) [0x7ff759d73384]
7 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x771719) [0x7ff759d71719]
8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7ff7a5e7f85f]
9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7ff7a5e7f60a]
10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7ff7a6c6d401]
11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7ff7a74a10c8]
12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7ff7a749dca6]
13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x112) [0x7ff7a749d8d2]
14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7ff7a7497570]
15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb8Executor11ExecuteTaskEb+0x1c0) [0x7ff7a749c8d0]
16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext19ExecuteTaskInternalERNS_17ClientContextLockERNS_15BaseQueryResultEb+0x40) [0x7ff7a72a8c60]
17 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb18PendingQueryResult15ExecuteInternalERNS_17ClientContextLockE+0x7a) [0x7ff7a72ab3ba]
18 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext7ExecuteERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS_10shared_ptrINS_21PreparedStatementDataELb1EEERKNS_22PendingQueryParametersE+0xa0) [0x7ff7a72ab100]
19 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb17PreparedStatement7ExecuteERNSt3__113unordered_mapINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_18BoundParameterDataENS_33CaseInsensitiveStringHashFunctionENS_29CaseInsensitiveStringEqualityENS6_INS1_4pairIKS8_S9_EEEEEEb+0x1c3) [0x7ff7a72ce3a3]
20 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb17PreparedStatement7ExecuteERNS_6vectorINS_5ValueELb1ENSt3__19allocatorIS2_EEEEb+0x172) [0x7ff7a72ce642]
21 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1087fc) [0x7ff7a5b087fc]
22 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_duckdb_rapi_execute+0x63) [0x7ff7a5b72f73]
23 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8f524) [0x5598a8bd4524]
24 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdae08) [0x5598a8c1fe08]
25 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc918c) [0x5598a8c0e18c]
26 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x5598a8c0d945]
27 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc93e4) [0x5598a8c0e3e4]
28 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x26e) [0x5598a8c0da0e]
29 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc93e4) [0x5598a8c0e3e4]
30 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcf10) [0x5598a8c21f10]
31 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd5c9) [0x5598a8c125c9]
32 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc918c) [0x5598a8c0e18c]
33 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x5598a8c0d945]
34 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0aa9) [0x5598a8c25aa9]
35 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff9b) [0x5598a8c24f9b]
36 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9867) [0x5598a8c0e867]
37 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x5598a8c0dd98]
38 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc93e4) [0x5598a8c0e3e4]
39 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcf10) [0x5598a8c21f10]
40 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd5c9) [0x5598a8c125c9]
41 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc918c) [0x5598a8c0e18c]
42 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x5598a8c0d945]
43 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0aa9) [0x5598a8c25aa9]
44 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff9b) [0x5598a8c24f9b]
45 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9867) [0x5598a8c0e867]
46 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x5598a8c0dd98]
47 /data/gannet/ripley/R/test-clang/rlang/libs/rlang.so(+0x4983) [0x7ff8808a3983]
48 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8d673) [0x5598a8bd2673]
49 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcfbc4) [0x5598a8c14bc4]
50 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc918c) [0x5598a8c0e18c]
51 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x5598a8c0d945]
52 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0aa9) [0x5598a8c25aa9]
53 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff9b) [0x5598a8c24f9b]
54 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9867) [0x5598a8c0e867]
55 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x5598a8c0dd98]
56 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe5e08) [0x5598a8c2ae08]
57 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x5598a8c0db70]
58 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe50fb) [0x5598a8c2a0fb]
59 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x5598a8c0db70]
60 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0aa9) [0x5598a8c25aa9]
61 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff9b) [0x5598a8c24f9b]
=================================
*** caught segfault ***
address 0x4d200042d82, cause 'unknown'
Traceback:
1: rapi_execute(stmt, convert_opts)
2: withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }})
3: doTryCatch(return(expr), name, parentenv, handler)
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
5: tryCatchList(expr, classes, parentenv, handlers)
6: tryCatch(withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}), stackOverflowError = handlers[[1L]])
7: rlang::try_fetch(rapi_execute(stmt, convert_opts), error = function(e) { rethrow_error_from_rapi(e, call)})
8: rethrow_rapi_execute(res@stmt_lst$ref, duckdb_convert_opts_impl(res@connection@convert_opts, arrow = res@arrow))
9: duckdb_execute(res)
10: duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)
11: .local(conn, statement, ...)
12: dbSendQuery(conn, statement, ...)
13: dbSendQuery(conn, statement, ...)
14: dbSendStatement(conn, statement, ...)
15: dbSendStatement(conn, statement, ...)
16: DBI::dbExecute(conn, glue::glue("LOAD {extension};"))
17: DBI::dbExecute(conn, glue::glue("LOAD {extension};"))
18: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage"))
19: suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};")))
20: ddbs_load(conn, quiet = TRUE)
21: duckspatial::ddbs_create_conn(dbdir = "memory", bigint = "integer64", ...)
22: ddbh3_default_conn(threads = 1)
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(duckh3)
>
> test_check("duckh3")
[gannet:276396:0:276900] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x449)
==== backtrace (tid: 276900) ====
0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f6a8eae3df4]
1 /lib64/libucs.so.0(+0x17aed) [0x7f6a8eae5aed]
2 /lib64/libucs.so.0(+0x17cbd) [0x7f6a8eae5cbd]
3 /lib64/libc.so.6(+0x1a040) [0x7f6aa8128040]
4 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196990) [0x7f6970b96990]
5 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168568) [0x7f6970b68568]
6 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773384) [0x7f6970173384]
7 /data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x771719) [0x7f6970171719]
8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7f6a9387f85f]
9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7f6a9387f60a]
10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7f6a9466d401]
11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7f6a94ea10c8]
12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7f6a94e9dca6]
13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7f6a94e9d914]
14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7f6a94e97570]
15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7f6a94ea432a]
16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1aafe9c) [0x7f6a94eafe9c]
17 /lib64/libc.so.6(+0x71f14) [0x7f6aa817ff14]
18 /lib64/libc.so.6(+0xf532c) [0x7f6aa820332c]
=================================
*** caught segfault ***
address 0x4d2000437ac, cause 'unknown'
Traceback:
1: rapi_execute(stmt, convert_opts)
2: withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }})
3: doTryCatch(return(expr), name, parentenv, handler)
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
5: tryCatchList(expr, classes, parentenv, handlers)
6: tryCatch(withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}), stackOverflowError = handlers[[1L]])
7: rlang::try_fetch(rapi_execute(stmt, convert_opts), error = function(e) { rethrow_error_from_rapi(e, call)})
8: rethrow_rapi_execute(res@stmt_lst$ref, duckdb_convert_opts_impl(res@connection@convert_opts, arrow = res@arrow))
9: duckdb_execute(res)
10: duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)
11: .local(conn, statement, ...)
12: dbSendQuery(conn, statement, ...)
13: dbSendQuery(conn, statement, ...)
14: dbSendStatement(conn, statement, ...)
15: dbSendStatement(conn, statement, ...)
16: DBI::dbExecute(conn, glue::glue("LOAD {extension};"))
17: DBI::dbExecute(conn, glue::glue("LOAD {extension};"))
18: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage"))
19: suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};")))
20: ddbs_load(conn, quiet = TRUE)
21: duckspatial::ddbs_create_conn(dbdir = "memory", bigint = "integer64", ...)
22: ddbh3_default_conn()
23: eval(exprs, env)
24: eval(exprs, env)
25: withCallingHandlers(invisible(eval(exprs, env)), error = function(err) { cli::cli_abort("Failed to evaluate {.path {path}}.", parent = err, call = error_call)})
26: source_file(path, env = env, chdir = chdir, wrap = wrap, shuffle = shuffle, error_call = error_call)
27: FUN(X[[i]], ...)
28: lapply(files, function(path) { source_file(path, env = env, chdir = chdir, wrap = wrap, shuffle = shuffle, error_call = error_call)})
29: source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
30: source_test_setup(".", env)
31: test_files_setup_state(test_dir, test_package, load_helpers, env)
32: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, shuffle = shuffle, error_call = error_call)
33: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel, shuffle = shuffle)
34: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed")
35: test_check("duckh3")
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘duckh3-Ex.R’ failed
The error most likely occurred in:
> ### Name: ddbh3_get_child_pos
> ### Title: Get the position of an H3 cell within its parent
> ### Aliases: ddbh3_get_child_pos
>
> ### ** Examples
>
> ## Load needed packages
> library(duckh3)
> library(dplyr)
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
>
> ## Setup the default connection with h3 and spatial extensions
> ## This is a mandatory step to use duckh3 functions
> ddbh3_default_conn(threads = 1)
Error in `duckspatial::ddbs_install()`:
! Failed to install the h3 extension.
ℹ It could not be found in the core or community repositories.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckh3::ddbh3_default_conn(threads = 1)
2. └─duckspatial::ddbs_install(conn, upgrade = upgrade_h3, quiet = TRUE, extension = "h3")
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(duckh3)
>
> test_check("duckh3")
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `duckspatial::ddbs_install()`:
! Failed to install the h3 extension.
ℹ It could not be found in the core or community repositories.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─testthat::test_check("duckh3")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_serial(...)
5. └─testthat:::test_files_setup_state(...)
6. └─testthat::source_test_setup(".", env)
7. └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. └─base::lapply(...)
9. └─testthat (local) FUN(X[[i]], ...)
10. └─testthat::source_file(...)
11. ├─base::withCallingHandlers(...)
12. └─base::eval(exprs, env)
13. └─base::eval(exprs, env)
14. └─duckh3::ddbh3_default_conn() at ./setup.R:12:1
15. └─duckspatial::ddbs_install(conn, upgrade = upgrade_h3, quiet = TRUE, extension = "h3")
16. └─cli::cli_abort(...)
17. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc