r-lib-cli
OfficialCraft semantic CLI messages in R.
Authornq-rdl
Version1.0.0
Installs0
System Documentation
What problem does it solve?
R developers often need to present clear, nicely formatted command-line outputs when building R packages or scripts, but R's default messaging lacks rich formatting and structure.
Core Features & Use Cases
- Inline markup with class-based formatting (e.g., {.code ...}, {.pkg ...}, {.val ...}) for code, paths, and values.
- Formatted errors, warnings, and information via cli_abort(), cli_warn(), cli_inform() for consistent UX.
- Progress indicators and headings (cli_progress_bar, cli_h1, cli_ul) to communicate status.
- Theming and styling via cli_div and built-in themes to ensure accessible, branded CLI output.
- Real-world use cases: building robust CRAN-like CLIs, debugging workflows, and user-facing messages in packages.
Quick Start
Install and load the cli package, then start formatting outputs in your R scripts with inline markup and CLI helpers.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: r-lib-cli Download link: https://github.com/nq-rdl/agent-extensions/archive/main.zip#r-lib-cli Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.