Skip to content

ragR

0.1.0

Retrieval-Augmented Generation and RAG Evaluation Tools

0packages depend
117downloads / year
30.9%test coverage
13/13checks pass

Overview

About
Maintained by Muhammad Aimal RehmanFirst published 2026-07-221 releasesCRAN page ↗GitHub ↗

Provides tools for document ingestion, embedding storage, retrieval-augmented generation (RAG), and evaluation of question-answering systems. The package includes an R-native vector store, wrappers for OpenAI embedding and chat-completion application programming interfaces (APIs), question-answering logging utilities, and large language model (LLM)-based evaluation metrics for context precision, context recall, answer relevance, and faithfulness. These metrics are based on the Retrieval-Augmented Generation Assessment (RAGAS) framework. The retrieval-augmented generation methodology is described by Lewis et al. (2020) "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks" doi:10.48550/arXiv.2005.11401. The evaluation metrics are based on Es et al. (2024) "RAGAS: Automated Evaluation of Retrieval Augmented Generation" doi:10.18653/v1/2024.eacl-demo.16.

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.14
30.9%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-07-23
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,176 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

117
CRAN downloads in the past year
Rank #24,496 · ~0/day · ~10/mo
ragR
Daily download trend is not available in this view yet.
11730 days
11790 days
1171 year
Compare downloads with other packages →

Repository

Repository
2Stars
0Forks
0Open issues
0Open PRs
0Releases
51Commits
1Contributors
51 commits · Last activity 2026-06-08

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/aimalrehman92/ragr on 2026-07-30.

Reproducibility and dev environment (1)
renv
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-07-22 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-22
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →