Retrieval-Augmented Generation (RAG) Workflows in R with Local and Web Search
Overview
Enables Retrieval-Augmented Generation (RAG) workflows in R by combining local vector search using 'DuckDB' with optional web search via the 'Tavily' API. Supports 'OpenAI'- and 'Ollama'-compatible embedding models, full-text and 'HNSW' (Hierarchical Navigable Small World) indexing, and modular large language model (LLM) invocation. Designed for advanced question-answering, chat-based applications, and production-ready AI pipelines. This package is the R equivalent of the 'python' package 'RAGFlowChain' available at https://pypi.org/project/RAGFlowChain/.
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘create_rag_chain.Rd’ ‘fetch_data.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTE2026-09-30
- ERROR10 OK, 2 NOTE, 1 ERROR2026-09-04
- NOTE12 OK, 1 NOTE2026-07-11
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
Show 5 earlier changesHide 5 earlier changes
- OK13 OK2026-05-24
- ERROR12 OK, 1 ERROR2026-05-17
- OK13 OK2026-05-15
- ERROR12 OK, 1 ERROR2026-05-13
- OK14 OK2026-03-10
Documentation
- Help pages
- 3
- Examples that run
- 0%3 never run
- Exported functions with examples
- 100%
- Documented parameters
- 94%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 67
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Issues over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/knowusuboaky/ragflowchainr on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-02-22 · The repository has a site deploy workflow
pkgdown site last built 2026-02-22
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.7Latest
- 0.1.62026-02-22 · diff ↗ ·
added 4 exports
build_vector_index, embed_openai, insert_vectors, search_vectors - 0.1.52025-05-26 · diff ↗
- 0.1.42025-05-22 · diff ↗
- 0.1.32025-05-21 · diff ↗
- unarchivedReturned to CRAN2025-05-20
- archivedRemoved from CRAN2025-05-20issues were not corrected in time
- 0.1.22025-04-29 · diff ↗
- 0.1.12025-04-24 · diff ↗
- 0.1.02025-04-24
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-04-24
- Total releases
- 8 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RAGFlowChainR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.