Vignette: Use btw from the terminal

オープン
#230 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
r
領域
cli, documentation

調査の方向性

Start by reading the current btw CLI help and the install_btw_cli() entry point, then inspect the existing skills and MCP articles for integration context. Verify representative terminal commands, prerequisites, PATH behavior, JSON output, and local-package behavior against the implementation. Done means a reproducible vignette guides humans from installation through everyday R workflows and coding-agent use without fabricating output.

索引モデルが issue の本文から書いたものです。

説明

documentation

Goal and audience

Show humans how to install and use the btw CLI for everyday R documentation, environment, and package-development questions without opening an interactive R session. Then show how to get an existing coding agent to use the same interface.

The primary audience is humans working with R from a terminal, not agents. The destination is a working installation, confidence using representative commands, and a clear path to coding-agent integration.

Proposed coverage — reassess before drafting

This is a starting proposal, not a fixed outline or required section order. Before writing, reassess the scope, example, and teaching sequence against the current implementation, existing documentation, and reader needs. Adjust, combine, or drop items as appropriate.

  • Install with install_btw_cli(), covering prerequisites and finding the executable on PATH.
  • Discover available commands through btw's help.
  • Look up help topics, find topics and vignettes, and read package NEWS.
  • Inspect installed packages and platform information.
  • Search CRAN when finding a package, as distinct from reading an installed package's documentation.
  • Demonstrate representative package commands such as tests, documentation, and checks.
  • Explain working-directory and local-development-package behavior where it affects results.
  • Introduce JSON output where useful for shell composition.
  • Finish with coding-agent integration: instruct an agent to use btw, show the supplied r-btw-cli skill, and explain help-based command discovery.

Suggested boundaries

Do not reproduce the full command reference, explain Rapp internals, or include MCP setup. Agent use is an application of the human CLI workflow, not the opening premise. Link to the skills and MCP articles where useful.

Writing guidance

Verify command syntax and output against the actual CLI. Distinguish terminal commands from R installation commands. Use reproducible examples, account for platform/setup differences, and do not fabricate terminal output.

主要言語
R
スター
150
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/btw のほかの issue

posit-dev/btw の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。