Skip to content

btw

A Toolkit for Connecting R and Large Language Models

v1.2.1 · Mar 23, 2026 · MIT + file LICENSE

Description

A complete toolkit for connecting 'R' environments with Large Language Models (LLMs). Provides utilities for describing 'R' objects, package documentation, and workspace state in plain text formats optimized for LLM consumption. Supports multiple workflows: interactive copy-paste to external chat interfaces, programmatic tool registration with 'ellmer' chat clients, batteries-included chat applications via 'shinychat', and exposure to external coding agents through the Model Context Protocol. Project configuration files enable stable, repeatable conversations with project-specific context and preferred LLM settings.

Downloads

1.3K

Last 30 days

3309th

3.5K

Last 90 days

4.8K

Last year

Trend: +0.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies brio cli clipr dplyr ellmer frontmatter fs jsonlite lifecycle mcptools pkgsearch rlang rmarkdown rstudioapi S7 +4 more dependencies btw

Version History

updated 1.2.1 ← 1.2.0 diff Mar 23, 2026
updated 1.2.0 ← 1.1.0 diff Mar 16, 2026
new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.0 diff Dec 22, 2025
new 1.0.0 Nov 3, 2025