Hi,
thank you for this great package. I am getting an error when running the new ragnar_store_atlas(). Minimal example:
library(ragnar)
store_location <- "test.ragnar.duckdb"
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"))
ragnar_store_build_index(store)
ragnar_store_atlas(store)
I get:
Downloading uv...Done!
Installed 131 packages in 623ms
Error in py_call_impl(callable, call_args$unnamed, call_args$named) :
TypeError: compute_vector_projection() takes 1 positional argument but 2 were given
Run `reticulate::py_last_error()` for details.
sessionInfo():
R version 4.5.2 (2025-10-31)
Platform: aarch64-apple-darwin25.0.0
Running under: macOS Tahoe 26.2
Matrix products: default
BLAS: /opt/homebrew/Cellar/openblas/0.3.31/lib/libopenblasp-r0.3.31.dylib
LAPACK: /opt/homebrew/Cellar/r/4.5.2_1/lib/R/lib/libRlapack.dylib; LAPACK version 3.12.1
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: Europe/London
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ragnar_0.3.0
loaded via a namespace (and not attached):
[1] Matrix_1.7-4 bit_4.6.0 jsonlite_2.0.0 dplyr_1.2.0
[5] compiler_4.5.2 tidyselect_1.2.1 Rcpp_1.1.1 xml2_1.5.2
[9] blob_1.3.0 assertthat_0.2.1 tidyr_1.3.2 arrow_23.0.1.1
[13] png_0.1-8 reticulate_1.45.0 lattice_0.22-9 R6_2.6.1
[17] generics_0.1.4 httr2_1.2.2 tibble_3.3.1 DBI_1.3.0
[21] pillar_1.11.1 rlang_1.1.7 stringi_1.8.7 S7_0.2.1
[25] bit64_4.6.0-1 otel_0.2.0 cli_3.6.5 withr_3.0.2
[29] magrittr_2.0.4 rvest_1.0.5 grid_4.5.2 rappdirs_0.3.4
[33] lifecycle_1.0.5 vctrs_0.7.1 glue_1.8.0 duckdb_1.4.4
[37] purrr_1.2.1 httr_1.4.8 tools_4.5.2 pkgconfig_2.0.3
Hi,
thank you for this great package. I am getting an error when running the new ragnar_store_atlas(). Minimal example:
I get:
sessionInfo():