Changelog
Source:NEWS.md
RAGFlowChainR (development version)
- Wrapped FTS-related tests in
tryCatch()+skip()to avoid segmentation faults on Fedora-clang during CRAN checks. - Informative
skip()messages added for systems without FTS extension support. - Ensured all tests pass cleanly on platforms with partial DuckDB extension support.
- Maintained full feature test coverage in interactive/development environments.
- No user-facing changes or exported API modifications.
RAGFlowChainR 0.1.1
CRAN release: 2025-04-24
Prevented segfaults on CRAN by disabling the experimental
vssextension during checks.Fallback to
FLOAT[]column type whenvssis unavailable, avoiding Fedora-clang binary-extension errors.-
create_vectorstore()now:- Skips
vssinstallation/loading under CRAN but retains support in dev environments. - Returns a persistent DuckDB connection (no longer auto-disconnects).
- Skips
-
insert_vectors():- Handles single-column frames safely using
drop = FALSE. - Dynamically switches between
array_value()andlist_value()based on schema.
- Handles single-column frames safely using
-
build_vector_index():- Skips HNSW index creation when
VECTOR[]columns are missing (with a warning).
- Skips HNSW index creation when
-
RAG chain integration:
- Safely mirrors
vss-guard logic inconnect_vectorstore()andcreate_rag_chain().
- Safely mirrors
-
DESCRIPTION and metadata:
- Set minimum required version:
duckdb (>= 0.10.0)andtestthat (>= 3.0.0). - Added
Config/testthat/edition: 3for consistent test behavior. - Tidied Description field by removing unnecessary single quotes around names.
- Expanded common acronyms like
HNSW,LLM, etc.
- Set minimum required version:
-
Testing improvements:
- Suppressed non-critical test warnings.
- Removed fragile FTS assertions (
fts_main). - Introduced
mock_embed()anddummy_embed()to remove dependency on external APIs. - Skipped RAG-chain integration tests on CRAN and gated test-data downloads.