r-conventions
БесплатноБез исполняемых скриптовНе проверенR code conventions covering R 4.1+, tidyverse/base style, styler/lintr, roxygen2, testthat, error handling, input validation, C/C++/Rust interop, and CRAN…
от Goldziher★ 182 звезды на GitHubОб этом скилле
- R 4.1+, a consistent style guide (e.g., tidyverse), a formatter (e.g., styler) and a linter (e.g., lintr).
- Base R pipe
|>over magrittr%>%, prefer base R when tidyverse not needed. - Package dev:
devtools/usethis/roxygen2,testthat(80%+ via a coverage tool, e.g., covr). - Documentation: roxygen2 for inline docs and NAMESPACE management.
@exampleson all exports. - Vignettes with
knitr/rmarkdownfor long-form documentation and tutorials. - Error handling:
tryCatch()/withCallingHandlers(),cli::cli_abort()for user-facing errors. - Input validation:
checkmateorrlang::arg_match()for function parameter validation. - Security: a dependency vulnerability scanner (e.g., oysteR).
- C/C++:
Rcppor.Call(), PROTECT/UNPROTECT all R objects. Rust:extendr/rextendr. - CRAN:
R CMD check --as-cranzero warnings/notes, maintain DESCRIPTION with proper versioning. - Anti-patterns:
eval(parse(text=))with user input, mixing Rcpp and raw C API,T/Finstead ofTRUE/FALSE.
Установить r-conventions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл r-conventions?
R code conventions covering R 4.1+, tidyverse/base style, styler/lintr, roxygen2, testthat, error handling, input validation, C/C++/Rust interop, and CRAN compliance. Load when writing or reviewing R code.
Как установить скилл r-conventions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл r-conventions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic