Air
Air is currently in alpha. Expect breaking changes both in the API and in formatting results. We also recommend that you use a version control system like git so you can easily see the changes that Air makes.
Air is an R formatter and language server, written in Rust.
Integrates with your favorite editor with support for
Format on save
Format selection
Usable from the command line with support for
Formatting individual files
Recursively formatting entire directories
--check
mode, suitable for a git pre-commit hook or a GitHub Actions workflow
If you’d like to use Air from the command line, read our installation guide. If you’d like to use Air inside a code editor, read our editors guide.