Lightlines
By posit-dev

r-cli-app

posit-dev644 installs

Turn your R scripts into command-line tools.

What it does

Guides the creation of R command-line tools with automatic argument parsing, help text, and subcommands.

When to use it

Use when creating R command-line tools, converting existing scripts, adding argument parsing, or shipping tools with subcommands in R packages.

How to use it

It changes how the agent builds R command-line tools by using top-level R expressions to define their command-line arguments.

What you provide

  • An existing project

Latest review

What you need · 2

Requires R 4.1.0 or later.

Requires the Rapp package, with its launcher installed on PATH for command-line invocation.


Access · 2

This skill

Rapp

Execute

Installs the Rapp launcher

PATH

Write

Adds launcher directories to PATH