Running examples in ‘ragnar-Ex.R’ failed
The error most likely occurred in:

> ### Name: ragnar_store_create
> ### Title: Create and connect to a vector store
> ### Aliases: ragnar_store_create ragnar_store_connect
> 
> ### ** Examples
> 
> # A store with a dummy embedding
> store <- ragnar_store_create(
+   embed = \(x) matrix(stats::runif(10), nrow = length(x), ncol = 10),
+   version = 1
+ )
> ragnar_store_insert(store, data.frame(text = "hello"))
> 
> # A store with a schema. When inserting into this store, users need to
> # provide an `area` column.
> store <- ragnar_store_create(
+   embed = \(x) matrix(stats::runif(10), nrow = length(x), ncol = 10),
+   extra_cols = data.frame(area = character()),
+   version = 1
+ )
> ragnar_store_insert(store, data.frame(text = "hello", area = "rag"))
> 
> # If you already have a data.frame with chunks that will be inserted into
> # the store, you can quickly create a suitable store with `vec_ptype()`:
> chunks <- data.frame(text = letters, area = "rag")
> store <- ragnar_store_create(
+   embed = \(x) matrix(stats::runif(10), nrow = length(x), ncol = 10),
+   extra_cols = vctrs::vec_ptype(chunks),
+   version = 1
+ )
> ragnar_store_insert(store, chunks)
> 
> # version = 2 (the default) has support for deoverlapping
> store <- ragnar_store_create(
+   # if embed = NULL, then only bm25 search is used (not vss)
+   embed = NULL
+ )
> doc <- MarkdownDocument(
+   paste0(letters, collapse = ""),
+   origin = "/some/where"
+ )
> chunks <- markdown_chunk(doc, target_size = 3, target_overlap = 2 / 3)
> chunks$context <- substring(chunks$text, 1, 1)
> chunks
# @document@origin: /some/where
# A tibble:         24 × 4
   start   end context text 
   <int> <int> <chr>   <chr>
 1     1     3 a       abc  
 2     2     4 b       bcd  
 3     3     5 c       cde  
 4     4     6 d       def  
 5     5     7 e       efg  
 6     6     8 f       fgh  
 7     7     9 g       ghi  
 8     8    10 h       hij  
 9     9    11 i       ijk  
10    10    12 j       jkl  
# ℹ 14 more rows
> ragnar_store_insert(store, chunks)
> ragnar_store_build_index(store)
Error in `duckdb_result()`:
! rapi_execute: Failed to run query
Error: Invalid Input Error: Initialization function "fts_init" from file "/data/gannet/ripley/.local/share/R/duckdb/extensions/v1.3.2/linux_amd64/fts.duckdb_extension" threw an exception: "Missing DB manager"
Backtrace:
     ▆
  1. ├─ragnar::ragnar_store_build_index(store)
  2. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
  3. │   ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
  4. │   └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
  5. │     ├─DBI::dbSendStatement(conn, statement, ...)
  6. │     └─DBI::dbSendStatement(conn, statement, ...)
  7. │       ├─DBI::dbSendQuery(conn, statement, ...)
  8. │       └─duckdb::dbSendQuery(conn, statement, ...)
  9. │         └─duckdb (local) .local(conn, statement, ...)
 10. │           └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)
 11. │             └─duckdb:::duckdb_execute(res)
 12. │               └─duckdb:::rethrow_rapi_execute(...)
 13. │                 ├─rlang::try_fetch(...)
 14. │                 │ ├─base::tryCatch(...)
 15. │                 │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 16. │                 │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 17. │                 │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 18. │                 │ └─base::withCallingHandlers(...)
 19. │                 └─duckdb:::rapi_execute(stmt, convert_opts)
 20. └─base::.handleSimpleError(...)
 21.   └─rlang (local) h(simpleError(msg, call))
 22.     └─handlers[[1L]](cnd)
 23.       └─duckdb:::rethrow_error_from_rapi(e, call)
 24.         └─rlang::abort(msg, call = call)
Execution halted