rpkg-check

rpkg-check is a command for Claude Code from Data-Wise/claude-plugins. It costs 18 tokens per session (358 once invoked), scanned A, original, MIT.

A quick health check for an R package, a software project written for the R programming language. It examines package metadata, runs R's standard package checks and tests, and reviews documentation and obvious code issues.

In plain words
What is it for?
Use it to check an R package's DESCRIPTION file, R CMD check results, tests, documentation, README, TODOs, FIXMEs, and test coverage.
Why use it?
It gathers common package problems into one report, so you can find errors, failed tests, missing documentation, broken examples, and other issues before release.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the rforge plugin — 15 commands shipped together

Good fit Use it to check an R package's DESCRIPTION file, R CMD check results, tests, documentation, README, TODOs, FIXMEs, and test coverage.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/data-wise/claude-plugins/rpkg-check
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Data-Wise/claude-plugins

Made for: Claude Code.

Or install rforge, the plugin that ships this one along with the rest of its 15 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rpkg-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/data-wise/claude-plugins/rpkg-check/github.svg)](https://agentmods.dev/commands/data-wise/claude-plugins/rpkg-check)
Your own site
<a href="https://agentmods.dev/commands/data-wise/claude-plugins/rpkg-check"><img src="https://agentmods.dev/badge/commands/data-wise/claude-plugins/rpkg-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rpkg-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/data-wise/claude-plugins/rpkg-check"><img src="https://agentmods.dev/badge/commands/data-wise/claude-plugins/rpkg-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 358 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00358
Opus 5.5 $0.00007 $0.00143
Sonnet 5.5 $0.00004 $0.00072
Haiku 4.5 $0.00002 $0.00036

Measured 1mo ago against content hash f0ec9f6d4621, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rpkg-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rforge/commands/rpkg-check.md · 76 lines

What it actually says

R Package Quick Check

You are performing a quick health check on an R package.

Task

Check R package at: $ARGUMENTS

If no path specified, check current directory.

Quick Check Process

Step 1: Basic Info

Read DESCRIPTION file:

  • Package name and version
  • Dependencies (Imports, Suggests)
  • R version requirement

Step 2: R CMD Check

Run r_check tool with default settings.

Step 3: Test Summary

Run r_test tool to get test results.

Step 4: Documentation Check

  • Are all exported functions documented?
  • Do examples run without error?
  • Is there a README?

Step 5: Code Quality

  • Any obvious style issues?
  • Are there TODOs or FIXMEs?
  • Is test coverage adequate?

Output Format

## Package Check: [package-name] v[version]

### Status: 🟢 / 🟡 / 🔴

### R CMD Check
- Errors: X
- Warnings: Y
- Notes: Z

### Tests
- Passed: X
- Failed: Y
- Coverage: Z%

### Documentation
- [ ] All exports documented
- [ ] Examples run
- [ ] README exists

### Issues Found
1. [Issue 1]
2. [Issue 2]

### Recommended Actions
1. [Action 1]
2. [Action 2]

Tools to Use

  • r_check
  • r_test
  • Read (for DESCRIPTION, README)
  • Grep (for TODOs, FIXMEs)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +5 lines · +18 tokens per session f0ec9f6d4621
  2. 3mo ago First seen · 71 lines · 0 tokens per session scan A ee2616eaa6cb

Subscribe to this mod's changes

rpkg-check is a command published in the GitHub repository Data-Wise/claude-plugins (7 stars, last pushed 12d ago), licensed MIT. It adds 18 tokens to every session and 358 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

rpkg-check compared with commands from other repositories

rpkg-check next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rpkg-checkData-Wise/claude-pluginsCommand712d agoMITA18Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code