r-libr-libOfficialยท2 Agent Skills Included

cpp11

R package input validation and function deprecation workflows

Guides R package developers through validating function inputs and deprecating functions or arguments safely. Adds lifecycle warnings, updates tests, documentation, and NEWS entries without missing any required step. Produces clear, actionable error messages and consistent tidyverse-style code across every change.
npx skills add r-lib/cpp11 --all -g -y
Available:

Gives your AI agent the exact commands, coding style, testing, and documentation rules to follow when developing this R package.

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install cpp11 skills?โ–ผ

Run `npx skills add r-lib/cpp11 --all -g -y` in your terminal to install all skills in this repository globally.

How to deprecate an R function correctly?โ–ผ

The tidy-deprecate-function skill walks through adding lifecycle warnings, silencing old tests, updating documentation, and adding a NEWS entry in the right order.

How to validate function inputs in R?โ–ผ

The tidy-argument-checking skill shows how to use rlang check functions like check_string() and check_number_whole() to produce clear, actionable error messages.

Do these skills work with Claude Code and Cursor?โ–ผ

Yes. All skills follow the universal SKILL.md standard and run in Claude Code, Cursor, Codex, and other compatible agents.

Do I need tidyverse experience to use these skills?โ–ผ

No. The skills explain each step in plain terms, so your agent can apply tidyverse conventions even if you are new to them.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’