- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘duckh3/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘duckh3’ version ‘0.2.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘duckh3’ can be installed ... [2s/3s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s/3s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [3s/4s] 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)
duckdb is storing downloaded extensions and secrets under ~/.duckdb:
ℹ /Users/urbanek/.duckdb
This persists across sessions and is shared with the DuckDB CLI and other clients.
ℹ Run duckdb(shared_home = FALSE) to use a temporary directory instead.
ℹ See ?duckdb_storage for details and alternatives.
Error in `value[[3L]]()`:
! Failed to load the h3 extension.
✖ IO Error: Extension
"/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension"
could not be loaded:
dlopen(/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension,
0x0006): tried:
'/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension'
(mach-o file, but is an incompatible architecture (have 'arm64', need
'x86_64h' or 'x86_64')),
'/System/Volumes/Preboot/Cryptexes/OS/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension'
(no such file),
'/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension'
(mach-o file, but is an incompatible architecture (have 'arm64', need
'x86_64h' or 'x86_64')) ℹ Context: rapi_execute ℹ Error type: IO
ℹ The binary may be corrupt or incompatible with this platform/DuckDB version.
ℹ Try reinstalling with `ddbs_install(extension = 'h3', upgrade = TRUE)`
Backtrace:
▆
1. └─duckh3::ddbh3_default_conn(threads = 1)
2. └─duckspatial::ddbs_load(conn, quiet = TRUE, extension = "h3")
3. └─base::tryCatch(...)
4. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. └─value[[3L]](cond)
7. └─cli::cli_abort(...)
8. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/4s] ERROR
Running ‘testthat.R’ [2s/4s]
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")
duckdb is storing downloaded extensions and secrets under ~/.duckdb:
ℹ /Users/urbanek/.duckdb
This persists across sessions and is shared with the DuckDB CLI and other clients.
ℹ Run duckdb(shared_home = FALSE) to use a temporary directory instead.
ℹ See ?duckdb_storage for details and alternatives.
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `value[[3L]]()`:
! Failed to load the h3 extension.
✖ IO Error: Extension
"/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension"
could not be loaded:
dlopen(/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension,
0x0006): tried:
'/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension'
(mach-o file, but is an incompatible architecture (have 'arm64', need
'x86_64h' or 'x86_64')),
'/System/Volumes/Preboot/Cryptexes/OS/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension'
(no such file),
'/Users/urbanek/.duckdb/extensions/v1.5.6/osx_amd64/h3.duckdb_extension'
(mach-o file, but is an incompatible architecture (have 'arm64', need
'x86_64h' or 'x86_64')) ℹ Context: rapi_execute ℹ Error type: IO
ℹ The binary may be corrupt or incompatible with this platform/DuckDB version.
ℹ Try reinstalling with `ddbs_install(extension = 'h3', upgrade = TRUE)`
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_load(conn, quiet = TRUE, extension = "h3")
16. └─base::tryCatch(...)
17. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
18. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
19. └─value[[3L]](cond)
20. └─cli::cli_abort(...)
21. └─rlang::abort(...)
Execution halted
- checking PDF version of manual ... [7s/11s] OK
- DONE
Status: 2 ERRORs