r-cran-extrachecks

r-cran-extrachecks is a skill for Claude Code from posit-dev/skills. It costs 100 tokens per session (4,079 once invoked), scanned A, original, MIT.

A checklist for preparing R packages for submission to CRAN, the main public repository for R packages. It covers extra requirements that the standard devtools check may not detect.

In plain words
What is it for?
It is for reviewing package files, README links, release notes and reviewer feedback, then proposing and verifying approved fixes.
Why use it?
It helps find issues that CRAN reviewers commonly flag before a first submission or resubmission.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the r-lib plugin — 10 skills shipped together

Good fit It is for reviewing package files, README links, release notes and reviewer feedback, then proposing and verifying approved fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posit-dev/skills/r-cran-extrachecks
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.

Any agent
npx skills add posit-dev/skills --skill r-cran-extrachecks
Clone the repo
git clone --depth 1 https://github.com/posit-dev/skills

Made for: Claude Code.

Or install r-lib, the plugin that ships this one along with the rest of its 10 skills.

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 r-cran-extrachecks

README.md
[![agentmods](https://agentmods.dev/badge/skills/posit-dev/skills/r-cran-extrachecks/github.svg)](https://agentmods.dev/skills/posit-dev/skills/r-cran-extrachecks)
Your own site
<a href="https://agentmods.dev/skills/posit-dev/skills/r-cran-extrachecks"><img src="https://agentmods.dev/badge/skills/posit-dev/skills/r-cran-extrachecks/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 r-cran-extrachecks

Your own site · 80×15
<a href="https://agentmods.dev/skills/posit-dev/skills/r-cran-extrachecks"><img src="https://agentmods.dev/badge/skills/posit-dev/skills/r-cran-extrachecks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,079 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.00100 $0.04079
Opus 5.5 $0.00040 $0.01632
Sonnet 5.5 $0.00020 $0.00816
Haiku 4.5 $0.00010 $0.00408

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

Security

Grade A, and why

r-cran-extrachecks 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 11d 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.

r-lib/r-cran-extrachecks/SKILL.md · 485 lines

How it starts

The opening of the file, as written. The whole thing — 485 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CRAN Extra Checks

Help R package developers prepare packages for CRAN submission by systematically checking for common ad-hoc requirements that CRAN reviewers enforce but devtools::check() doesn't catch.

Workflow

  1. Initial Assessment: Ask user if this is first submission or resubmission
  2. Run Standard Checklist: Work through each item systematically (see below)
  3. Identify Issues: As you review files, note specific problems
  4. Propose Fixes: Suggest specific changes for each issue found
  5. Implement Changes: Make edits only when user approves
  6. Verify: Confirm all changes are complete

Standard CRAN Preparation Checklist

Work through these items systematically:

  1. Create NEWS.md: Run usethis::use_news_md() if not already present
  2. Create cran-comments.md: Run usethis::use_cran_comments() if not already present
  3. Review README:
    • Ensure it includes install instructions that will be valid when the package is accepted to CRAN (usually install.packages("pkgname")).
    • Check that it does not contain relative links. This works on GitHub but will be flagged by CRAN. Use full URLs to package documentation or remove the links.
    • Does the README clearly explain the package purpose and functionality?
    • Important: If README.Rmd exists, edit ONLY README.Rmd (README.md will be overwritten), then run devtools::build_readme() to re-render README.md
  4. Proofread DESCRIPTION: Carefully review Title: and Description: fields (see detailed guidance below)
  5. Check function documentation: Verify all exported functions have @return and @examples (see detailed guidance below). Note the exemption for S3 methods documented only with #' @export: they produce no .Rd file and are not required to have either tag
  6. Verify copyright holder: Check that Authors@R: includes a copyright holder with role [cph]
  7. Review bundled file licensing: Check licensing of any included third-party files
  8. Run URL checks: Use urlchecker::url_check() and fix any issues

Read the full file on GitHub · 485 lines

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. 11d ago Changed · +19 lines b036fd03f708
  2. 12d ago First seen · 466 lines · 100 tokens per session scan A f4e81356c1ab

Subscribe to this mod's changes

r-cran-extrachecks is a skill published in the GitHub repository posit-dev/skills (543 stars, last pushed 3d ago), licensed MIT. It adds 100 tokens to every session and 4,079 once invoked, about $0.0004 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-10-07.

Related

Other skills, from other repositories

phx-deps-audit

Audit Hex deps for supply-chain security risk — bidi chars, compile-time exec, maintainer changes, typosquats, CVEs. Use after mix deps.update, when checking if a package upgrade is safe, or reviewing mix.lock PR diffs.

oliver-kriska/claude-elixir-phoenix · 58 tokens

architect

Design the idiomatic Elixir architecture for a rewrite: set the compatibility bar (ADR-000), consult phx specialists on open questions, then build contexts, ledger and ADRs. Use after /rewrite:analyze.

oliver-kriska/claude-elixir-phoenix · 47 tokens

deps-vet

Record a vetted Hex package version in hexvet.exs after a security review — manages the audit ledger, not the scanner. Use to approve a dep after /phx:deps-audit findings or to initialize hexvet.exs.

oliver-kriska/claude-elixir-phoenix · 53 tokens

phx-plan

Plan features spanning multiple domains: billing (Stripe), auth (RBAC), real-time (Presence), webhooks, jobs (Oban). Use when designing interconnected systems or converting review findings into tasks.

oliver-kriska/claude-elixir-phoenix · 44 tokens

deps-update

Bump outdated Hex deps — inventory, snapshot changelogs, update, fix breaks, split reviewable PRs (patches bundled, majors solo). Use to upgrade/bump Elixir dependencies or when versions fall behind. NOT for deps.get failures (/phx:investigate).

oliver-kriska/claude-elixir-phoenix · 60 tokens

phx-deps-update

Bump outdated Hex deps — inventory, snapshot changelogs, update, fix breaks, split reviewable PRs (patches bundled, majors solo). Use to upgrade/bump Elixir dependencies or when versions fall behind. NOT for deps.get failures (phx-investigate).

oliver-kriska/claude-elixir-phoenix · 62 tokens