# R Cran Extrachecks

Prepare R packages for CRAN submission by checking for common ad-hoc requirements not...

- Repository: https://github.com/posit-dev/skills (551 stars)
- Category: Writing
- License: MIT
- Last updated: 2026-10-28
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add posit-dev/skills --skill r-cran-extrachecks -g -a claude-code -y`
Codex: `npx skills add posit-dev/skills --skill r-cran-extrachecks -g -a codex -y`
Cursor: `npx skills add posit-dev/skills --skill r-cran-extrachecks -g -a cursor -y`
Gemini CLI: `npx skills add posit-dev/skills --skill r-cran-extrachecks -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add posit-dev/skills`

## Description

Prepare R packages for CRAN submission by checking for common ad-hoc requirements not caught by devtools::check(). Use when: (1) Preparing a package for first CRAN release, (2) Preparing a package update for CRAN resubmission, (3) Reviewing a package to ensure CRAN compliance, (4) Responding to CRAN reviewer feedback. Covers documentation requirements, DESCRIPTION field standards, URL validation, examples, and administrative requirements.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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:

The rest: https://github.com/posit-dev/skills/blob/HEAD/r-lib/r-cran-extrachecks/SKILL.md
