Skip to content

Overview ​

Arity is a formatter, linter, and language server for R. It keeps formatting consistent, finds common mistakes, and provides diagnostics and navigation in your editor. It also understands roxygen documentation and package DESCRIPTION files.

Choose your setup ​

  • VS Code or Positron: install the Arity extension. It includes the binary and starts the language server for you.
  • RStudio: use the R package to format code inside RStudio or from the R console.
  • Other editors: follow Editor setup to connect your editor to the language server. The guide includes Neovim, Zed, and Helix.
  • Terminal or CI: install the CLI, then follow Getting started to check and format an existing R project.

The Installation page covers the standalone installer, package managers, and source builds.

Where to go next ​

For individual commands, settings, and diagnostics, see the CLI reference, Configuration reference, and Lint rules.

arity v0.29.0 · Released under the MIT license.