cran-submission

Guides R package submission to CRAN with pre-submission checks and R CMD check fixes.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/choxos/RPkgAgent --skill cran-submission
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cran-submission
Source: https://github.com/choxos/RPkgAgent/tree/main/plugins/r-package-development/skills/cran-submission
Command: npx skills add https://github.com/choxos/RPkgAgent --skill cran-submission

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill demystifies the complex and often daunting process of submitting R packages to CRAN, ensuring your package meets all quality and policy requirements.

Core Features & Use Cases

  • Policy Guidance: Understand CRAN's strict rules for documentation, code, and metadata.
  • Pre-Submission Checks: Learn how to perform essential checks like multi-platform testing and URL validation.
  • Issue Resolution: Get practical advice on fixing common R CMD check errors, warnings, and notes.
  • Submission Process: Follow step-by-step instructions for both initial and resubmissions.
  • Use Case: You've developed a new R package and are ready to share it with the world. This Skill guides you through every step, from ensuring your DESCRIPTION file is perfect to understanding how to respond to CRAN reviewers, maximizing your chances of a smooth acceptance.

Quick Start

Follow the comprehensive guide to prepare and submit your R package to CRAN.

Frequently Asked Questions about cran-submission

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I submit an R package to CRAN?

Submitting an R package to CRAN requires passing R CMD check, validating URLs, ensuring your DESCRIPTION file meets metadata rules, and following the formal submission and resubmission procedures to satisfy CRAN policies and reviewer feedback.

What are the most common R CMD check errors during CRAN submission?

Common R CMD check issues during CRAN submission include documentation gaps, invalid URLs, missing cross-platform testing, and DESCRIPTION file metadata errors. Resolving these warnings and notes is essential for package acceptance.

How do I prepare my R package DESCRIPTION file for CRAN?

Preparing your R package DESCRIPTION file for CRAN requires strict adherence to metadata policies, accurate dependency listings, and proper documentation standards before running pre-submission checks and initiating the upload process.

Why was my R package rejected by CRAN reviewers?

R packages are rejected by CRAN reviewers due to unresolved R CMD check notes, policy violations, invalid URLs, or documentation gaps. Addressing reviewer feedback and performing pre-submission checks ensures a smooth resubmission.

Do I need multi-platform testing before CRAN submission?

Yes, multi-platform testing is an essential pre-submission check for CRAN. You must verify that your R package runs without errors across different operating systems to ensure package quality and meet CRAN acceptance requirements.

How do I respond to CRAN reviewer feedback for resubmission?

To respond to CRAN reviewer feedback for resubmission, you must address all requested changes, resolve any remaining R CMD check issues, and follow the formal resubmission procedures while clearly documenting the corrections made to your R package.