~/talk

Air - A blazingly fast R code formatter

Talkat posit::conf(2025) · 2025-09-16..09-18· [developer-experience]
links:none on file
slides:none on file

Air is an R code formatter implemented in Rust that formats big files nearly instantly — about 20 ms for a 1k‑line file and ~200 ms to format all of dplyr’s ~150 R files. It hooks into IDEs via the Language Server Protocol (Positron, RStudio, VS Code, Neovim) and provides a GitHub action that auto-suggests fixes. Features include a strict on/off style, persistent line breaks, magic skip directives, and a coming tabular mode.

AI-written summary · about

  1. 0:00Formatting R code matters
  2. 1:47Air formatter for R
  3. 2:50Setting up Air in Positron
  4. 4:19Using Air daily
  5. 5:44Air performance benchmarks
  6. 6:50Tidyverse and rlib adoption
  7. 7:36Reducing collaborative friction
  8. 8:38GitHub action for contributors
  9. 9:44Strict configuration benefits
  10. 11:12Controlling code layout with Air
  11. 12:40Magic commands and skip directives
  12. 13:49Future tabular directives
  13. 14:50Air IDE compatibility
  14. 15:57Q&A: Switching from styler
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.