KS
Killer-Skills

cran — Categories.community data, r, resear, survey-analysis

v1.0.0
GitHub

About this Skill

Essential for R Package Developer Agents requiring automated CRAN submission compliance checks. Core Survey Analysis Infrastructure

# Core Topics

JDenn0514 JDenn0514
[0]
[0]
Updated: 3/3/2026

Quality Score

Top 5%
21
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add JDenn0514/surveycore/references/submit-and-respond.md

Agent Capability Analysis

The cran MCP Server by JDenn0514 is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for data, r, resear.

Ideal Agent Persona

Essential for R Package Developer Agents requiring automated CRAN submission compliance checks.

Core Value

Enables rigorous R package validation against CRAN's strict standards through automated `devtools::check()` execution and pre-approved note management. Provides infrastructure for comprehensive survey analysis and ensures adherence to R CMD check targets (0 errors, 0 warnings, ≤2 notes) as defined in r-package-conventions.md.

Capabilities Granted for cran MCP Server

Automating CRAN submission pre-flight checks
Validating R package documentation and DESCRIPTION files
Managing pre-approved CRAN submission notes
Executing comprehensive R CMD check routines

! Prerequisites & Limits

  • R-specific ecosystem only
  • Requires devtools dependency
  • Follows CRAN-specific conventions from r-package-conventions.md
Project
SKILL.md
4.0 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8
SKILL.md
Readonly

CRAN Submission

Surveyverse projects: R CMD check targets (0 errors, 0 warnings, ≤2 notes), pre-approved notes, and devtools::check() cadence are defined in r-package-conventions.md §3. Those rules take precedence over generic guidance here.

The four-stage arc

StageWhat you're doingReference
PrepareDESCRIPTION, docs, URLs, admin — the things devtools::check() won't catchpreflight-checklist.md
CheckR CMD check --as-cran, platform testing, NOTE triagecheck-and-triage.md
SubmitBuild tarball, devtools::submit_cran(), write cran-comments.mdsubmit-and-respond.md
RespondPoint-by-point reviewer responses, resubmissionsubmit-and-respond.md

Tool map

TaskTool
Full local checkdevtools::check()
CRAN-style check (fast iteration)devtools::check(args = "--as-cran")
CRAN-style check (submission confidence)R CMD build . then R CMD check --as-cran pkg_x.y.z.tar.gz
Docs and examples onlydevtools::check_man()
Windows + R-develdevtools::check_win_devel()
Multi-platform preflightrhub::check_for_cran()
URL validationurlchecker::url_check()
Submit to CRANdevtools::submit_cran()
Generate release issue checklistusethis::use_release_issue()
Create cran-comments.mdusethis::use_cran_comments()
Create NEWS.mdusethis::use_news_md()
Bump versionusethis::use_version()

The CRAN mindset

CRAN checks run in a minimal, non-interactive environment with no hidden dependencies. Write code as if:

  • There is no network access during checks (examples, tests, vignettes)
  • Nothing is written outside tempdir()
  • There are no interactive prompts
  • Examples run in a few seconds each — not minutes
  • No binary executables are bundled in the source package

Prefer fixes that make checks green everywhere over explanations that justify fragility.

ERROR / WARNING / NOTE triage

  • ERRORs: Always blockers. Fix before submission.
  • WARNINGs: Almost always blockers. Very rare contextual exceptions.
  • NOTEs: Split into two types:
    • Actionable — fix it (undeclared dependency, broken URL, too-long examples)
    • Contextual — explain in cran-comments.md (incoming feasibility NOTE on new submissions)

When keeping a NOTE, cran-comments.md must answer:

  1. What is the NOTE?
  2. Why does it happen?
  3. Why is it safe / expected?
  4. What did you do to minimize it?

Quality gate (recommended order)

  1. devtools::check() is clean — 0 errors, 0 warnings
  2. Preflight checklist complete — see preflight-checklist.md
  3. Tarball check: R CMD build .R CMD check --as-cran pkg_x.y.z.tar.gz
  4. Cross-platform: devtools::check_win_devel() at minimum; R-hub for broader coverage
  5. cran-comments.md written and reviewed
  6. Ready to respond point-by-point if CRAN asks

High-frequency failure surfaces

  • DESCRIPTION metadata: Title case, forbidden phrases, missing cph role
  • Documentation: Missing @return or @examples on exported functions
  • Examples: network calls, unseeded randomness, writes outside tempdir, commented-out code
  • URLs: HTTP instead of HTTPS, redirecting links
  • Undeclared dependencies: packages used in code/examples/tests but absent from DESCRIPTION
  • Package size / runtime: large embedded data, slow vignettes or examples

External resources

Related Skills

Looking for an alternative to cran or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication