r-btw-cli

Access R documentation, CRAN metadata, and development tasks from the command line.

132|8|Updated Feb 6, 2025
One-click install
npx skills add https://github.com/posit-dev/btw --skill r-btw-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r-btw-cli
Source: https://github.com/posit-dev/btw/tree/main/inst/cli-skill/r-btw-cli
Command: npx skills add https://github.com/posit-dev/btw --skill r-btw-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

People working with R often need quick, hands-on access to documentation, CRAN metadata, and development tasks from the command line without starting an R session.

Core Features & Use Cases

  • Read R help pages, vignettes, and package NEWS for locally installed packages.
  • Inspect the R environment, including version, platform, and installed packages.
  • Run development tasks from the CLI, such as generating docs, checking, testing, and packaging.

Quick Start

Run btw to access R documentation, manage package development, and query CRAN from the terminal.

Frequently Asked Questions about r-btw-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read R documentation from the command line without starting an R session?

You can read R documentation from the command line by running btw to access help pages, vignettes, and package NEWS for locally installed packages directly in the terminal without launching an interactive R session.

Can I inspect installed R packages and environment details from the terminal?

Yes, you can inspect the R environment from the terminal by running btw to view the R version, platform information, and a list of locally installed packages without entering an R session.

How do I run R package development tasks like checking and testing from the CLI?

Run btw from the CLI to execute R package development tasks such as generating documentation, running checks, testing, and packaging without needing to manually invoke commands inside an R session.

What's the best way to search CRAN metadata for R packages in a terminal?

The best way to search CRAN metadata in a terminal is using the btw CLI, which lets you query CRAN package information directly without opening a browser or starting an R session.

Does the btw CLI require any R packages or dependencies to be installed first?

The btw CLI operates with no external dependencies, requiring only a working R installation on your system to access documentation, inspect environments, and run development tasks from the terminal.