Skip to main content

A language server, formatter, and linter for R

Project description

Arity

Arity is a language server, formatter, and linter for the R programming language. It is designed to provide a seamless development experience for R programmers by integrating with popular code editors and IDEs.

Installation

From npm

Install with npx or npm:

# One-shot run, no install:
npx arity-cli format file.R

# Persistent install:
npm install -g arity-cli

The package detects your platform at install time and pulls in a prebuilt binary via npm's optional dependencies --- no Rust toolchain required.

From crates.io

If you have Rust installed:

cargo install arity

Formatter

To format your code, you can use:

  • arity format [file]
  • arity format --verify [file]
  • arity format --check <path> [<path> ...]

Linter

To lint your code, you can use:

  • arity lint --check <path> [<path> ...]

Editor integration

arity lsp starts a stdio-based language server. It currently advertises only formatting (textDocument/formatting); diagnostics and other capabilities are not implemented yet. Configuration is read from arity.toml discovered from each file's parent directory, matching the CLI.

Helix example (~/.config/helix/languages.toml):

[language-server.arity]
command = "arity"
args = ["lsp"]

[[language]]
name = "r"
language-servers = ["arity"]
formatter = { command = "arity", args = ["format"] }

Neovim (with nvim-lspconfig or a custom client) should launch arity lsp for files with the r filetype and request formatting via vim.lsp.buf.format().

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arity-0.5.0.tar.gz (486.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

arity-0.5.0-py3-none-win_arm64.whl (3.8 MB view details)

Uploaded Python 3Windows ARM64

arity-0.5.0-py3-none-win_amd64.whl (3.9 MB view details)

Uploaded Python 3Windows x86-64

arity-0.5.0-py3-none-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

arity-0.5.0-py3-none-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

arity-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

arity-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

arity-0.5.0-py3-none-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

arity-0.5.0-py3-none-macosx_10_12_x86_64.whl (3.9 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file arity-0.5.0.tar.gz.

File metadata

  • Download URL: arity-0.5.0.tar.gz
  • Upload date:
  • Size: 486.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arity-0.5.0.tar.gz
Algorithm Hash digest
SHA256 928874828fb4b6c590c53f3854986b6c56392e1c75675fb3910bc8bd8403a343
MD5 0260cf9f69142ce1bf64b71af5ba87c3
BLAKE2b-256 649da5be9d5559d1ba192abe206fa2dceca21e5531392c7613feaadb7f20c70e

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0.tar.gz:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: arity-0.5.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arity-0.5.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 4443049cdd1e5f12816d10252e01fa2bdccf6d6e0bcd12a35957f8214059c7d0
MD5 5311446e44363dd9aaac91c3abfda6f6
BLAKE2b-256 3e2a866bac36e7eb59beb2af5db17f756176665f054f3f005c623c91e2cba2f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-win_arm64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: arity-0.5.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arity-0.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 da70372267b411088bb3954b70e4237f8ed5f530edcf449f6e69c922f6d33b54
MD5 33d8c711443e7eea712a31fd352ce640
BLAKE2b-256 9028278715327ff8960166a40f83cfcfd3bb280164bd669d0a749bf95fba888e

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-win_amd64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: arity-0.5.0-py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arity-0.5.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0358dea6535d64878deb4b44bcaa15a21b7d3462fc8d1bfe6552a52f6ee07e2f
MD5 c229502ba10e2a776f16c092e3d936ad
BLAKE2b-256 2ae3a4b1370eee57071c8236459ff743f0e0dc6c2938a652bec995b938fa3e31

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-musllinux_1_2_x86_64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for arity-0.5.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 069877b24c55a138d3f69e0686ec234c2e096586ca7d874b2576ffc6c5b5e0d6
MD5 7db24eee74edce92885c68ee163c2c1f
BLAKE2b-256 2a6a4522b89df0648526bafb03f9dcfc471b5d23d62e5be50e8575fe04de1b28

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-musllinux_1_2_aarch64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arity-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b0ff927c4bd1fca6c8a7320959453bbdd82205dbc4e342873726c1dde38cb4b
MD5 46b4dd92a5e5509c0764ab68c08df290
BLAKE2b-256 4de38134cdaee9ac237ef3139e50855bd468fc240b1fa7f2e402073d5967ac5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for arity-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cb50ab9409200b337329f3697ae7839d265412fd44e5cc43364d2c1c002925e1
MD5 dd8a80a552f1a4ebefebc2bf424cafcd
BLAKE2b-256 e554f6b2247f1a6dc7b493e8d374b87177b10d133162e59429e0261d7c71b614

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: arity-0.5.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arity-0.5.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 429112a163e55078f8744c8894eb0d907346d0ab8b167ab7080c002216597f3e
MD5 f2d95aab20c3809ae39b684e72660b38
BLAKE2b-256 0ea99cb08c6590d681d37c9d8d6c633aa0653ffb93e885a880d142b8381db92f

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arity-0.5.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for arity-0.5.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d35c0f0e5584dd14fcb25bd1ffd56e5e0c7c0991d8b9c27dfb147e54e7616090
MD5 f10b1d79607f911ca83f4f0f877fd8d0
BLAKE2b-256 bea4e34b376cb717280dbb9566f76298d5c9a0a30d723be121cc6a74d00e4e43

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.5.0-py3-none-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on jolars/arity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page