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 `duckdb_result()`:
! Invalid Error: Invalid Input Error: Initialization function "spatial_duckdb_cpp_init" from file "/data/gannet/ripley/R/test-clang/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension" threw an exception: "Missing DB manager"
ℹ Context: rapi_execute
ℹ Error type: INVALID
Backtrace:
     ▆
  1. ├─duckh3::ddbh3_default_conn(threads = 1)
  2. │ └─duckspatial::ddbs_create_conn(...)
  3. │   └─duckspatial::ddbs_load(conn, quiet = TRUE)
  4. │     ├─base::suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};")))
  5. │     │ └─base::withCallingHandlers(...)
  6. │     ├─DBI::dbExecute(conn, glue::glue("LOAD {extension};"))
  7. │     └─DBI::dbExecute(conn, glue::glue("LOAD {extension};"))
  8. │       ├─DBI::dbSendStatement(conn, statement, ...)
  9. │       └─DBI::dbSendStatement(conn, statement, ...)
 10. │         ├─DBI::dbSendQuery(conn, statement, ...)
 11. │         └─duckdb::dbSendQuery(conn, statement, ...)
 12. │           └─duckdb (local) .local(conn, statement, ...)
 13. │             └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)
 14. │               └─duckdb:::duckdb_execute(res)
 15. │                 └─duckdb:::rethrow_rapi_execute(...)
 16. │                   ├─rlang::try_fetch(...)
 17. │                   │ ├─base::tryCatch(...)
 18. │                   │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 19. │                   │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 20. │                   │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 21. │                   │ └─base::withCallingHandlers(...)
 22. │                   └─duckdb:::rapi_execute(stmt, convert_opts)
 23. ├─duckdb (local) `<fn>`(...)
 24. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
 25. │   └─rlang:::signal_abort(cnd, .file)
 26. │     └─base::signalCondition(cnd)
 27. └─rlang (local) `<fn>`(`<dckdb_rr>`)
 28.   └─handlers[[1L]](cnd)
 29.     └─duckdb:::rethrow_error_from_rapi(e, call)
 30.       └─rlang::abort(msg, call = call)
Execution halted