Skip to content
Coming soon: Ally. Your guide to the world of AI and R. Learn More →
R for the Rest of Us Logo

What’s New in R: October 5, 2026

Welcome to this week's edition of What's New in R! This week, we're featuring a new approach to building package documentation sites with Quarto, a free guide to building AI agents you can actually trust, and a package that writes your gt tables straight into Excel workbooks. Let's dive in!

A new take on documentation sites for R packages

Bjarke Hautop Kristensen was frustrated that {pkgdown}, the standard tool for building R package websites, has only limited support for Quarto (callout blocks, for example, get flattened into plain blockquotes). So he turned to {altdoc}, which supports Quarto websites natively, and built {altdown}, a theme that recreates the familiar pkgdown look on top of it. He also created {reftip}, which adds hover previews for function references in code chunks, something {downlit} can't do for local packages and S3 methods. If you build package sites and have been wanting the full power of Quarto, this is a really interesting approach.

Read More →

Trusted Mini-Agents

Will Landau and Sam Parmar have written a free online guide to engineering AI errors out of agentic workflows, aimed at people who need AI to be reliable in high-stakes settings. The core idea is a least-privilege design: the model reasons freely with untrusted tools, then proposes inputs that a human reviews before they run on trusted tools that produce the final results. That shifts the question from 'are these results correct?' to 'is the agent solving the right problem?', which is a much easier thing for a person to check. The guide covers the concepts and then walks through worked examples in R with {ellmer}, {shinychat}, and Shiny (plus Python versions with chatlas).

Read More →

gtxlsx

The {gtxlsx} package by Jan Marvin Garbuszus, author of {openxlsx2}, takes a {gt} table you've already built and writes it into an Excel workbook as real cells. It keeps the heading, column spanners, row groups, stub, summary rows, footnotes, and styling, and numbers stay numbers: if gt displays $1,234.50, the cell holds 1234.5 with a matching number format. You use wb_add_gt() to add a gt table (or wb_add_html() for an HTML table), and there's even an experimental wb_to_gt() for going the other direction. If you've ever had someone ask for the Excel version of a table you polished in gt, this is the package for you.

Read More →

If you enjoyed this issue of What’s New In R, please share it with a friend! And if they want to get What’s New in R directly in their inbox, they can sign up on the R for the Rest of Us website.

Got any ideas for resources I should feature in future issues of What’s New in R? Leave a comment below!

Sign up for the newsletter

Get blog posts like this delivered straight to your inbox.

Let us know what you think by adding a comment below.

You need to be signed-in to comment on this post. Login.

David Keyes
By David Keyes
October 5, 2026

Sign up for the newsletter

R tips and tricks straight to your inbox.