Проверка R-пакета перед публикацией в CRAN

devops

r-package-check is a Claude Code skill that runs the complete R package release gate before a CRAN submission: it regenerates documentation with `devtools::document()`, executes the test suite, runs `R CMD check --as-cran`, and triages every ERROR, WARNING, and NOTE against CRAN policy. The workflow spans six phases — pre-flight toolchain detection, `man/`+`NAMESPACE` sync, testing, the full `--as-cran` check (background-launched via the Monitor tool for long runs), optional `covr` coverage reporting, and a source review delegated to the `r-package-reviewer` agent. A final report with a RELEASABLE / FIX-FIRST / POLICY-VIOLATION verdict and a CRAN-submission checklist is saved to `quality_reports/`. The skill checks only — cross-platform runs (win-devel, R-hub) and the actual `devtools::release()` call remain the maintainer's responsibility. It's designed for package authors who need to confirm the 0-errors / 0-warnings / every-note-justified bar before pushing to CRAN.