R Cran Extrachecks
Prepare R packages for CRAN submission by checking for common ad-hoc requirements not...
Install
npx skills add posit-dev/skills --skill r-cran-extrachecks -g -a claude-code -y- Repository
- posit-dev/skills551
- Category
- Writing
- Updated
- 7d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
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.
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
- Initial Assessment: Ask user if this is first submission or resubmission
- Run Standard Checklist: Work through each item systematically (see below)
- Identify Issues: As you review files, note specific problems
- Propose Fixes: Suggest specific changes for each issue found
- Implement Changes: Make edits only when user approves
- Verify: Confirm all changes are complete
Standard CRAN Preparation Checklist
Work through these items systematically:
