Skills

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

  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:

Read the whole SKILL.md on GitHub

More in Writing