CRAN Package Check Results for Package ragnar

Last updated on 2025-07-15 03:50:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 0.2.0 17.46 86.79 104.25 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 203.71 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 226.10 OK
r-release-macos-arm64 0.1.0 66.00 OK
r-release-macos-x86_64 0.1.0 116.00 OK
r-release-windows-x86_64 0.2.0 29.00 134.00 163.00 OK
r-oldrel-macos-arm64 0.1.0 161.00 NOTE
r-oldrel-macos-x86_64 0.2.0 128.00 OK
r-oldrel-windows-x86_64 0.2.0 49.00 188.00 237.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: installed package size
Result: NOTE installed size is 5.1Mb sub-directories of 1Mb or more: doc 1.8Mb help 2.9Mb Flavor: r-oldrel-macos-arm64