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.4.0.tar.gz (394.5 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.4.0-py3-none-win_arm64.whl (2.5 MB view details)

Uploaded Python 3Windows ARM64

arity-0.4.0-py3-none-win_amd64.whl (2.7 MB view details)

Uploaded Python 3Windows x86-64

arity-0.4.0-py3-none-musllinux_1_2_x86_64.whl (2.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

arity-0.4.0-py3-none-musllinux_1_2_aarch64.whl (2.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

arity-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

arity-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

arity-0.4.0-py3-none-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

arity-0.4.0-py3-none-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for arity-0.4.0.tar.gz
Algorithm Hash digest
SHA256 19fd4e656dac7b4a89549652d5a653624b86a318fe781581dcb7bda709654d3d
MD5 0cd21d84d790ae49a893e13cbfaf887f
BLAKE2b-256 59823a14608a63cec89af8eb702597c56485faba1b612bf25bf4bf6cabb7c94e

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: arity-0.4.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 2.5 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.4.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 08d1c9a2620a8d163b7d41901e73943b77537fc24d080baba6f8105304253d48
MD5 445882132b1934e94250e22129e8d8fd
BLAKE2b-256 a1fdcc3bd3b04cfcf154102a23199a7150347b09465f7a60f42cc7f8ec01db31

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: arity-0.4.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.7 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.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3c99deb7eecc9892bf808644e11d0f867ee1c083c0425a4baa0eb7686265d6da
MD5 4bf9d9efccd71a7d65cd26bc3d1de45e
BLAKE2b-256 0031d6bee34b4557c3d8b5902dda66aab04e9034707a4b7813a1ac20afc4e73b

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: arity-0.4.0-py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 2.8 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.4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 442a310a1dd659407cf2eafa19b72515533d4b7031b34ae0ee4c98c56283f06c
MD5 2ef9dae0be6bd5bd62f17aa8c39c80ec
BLAKE2b-256 e78576b1195e946656415e29809b4d2d7d67b17b03e0bb22dba6dc2ca2c55e8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for arity-0.4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5da14c8a4e411ef22d04e837b577301771b858aea5a541cc9ae6b3dc7af8b146
MD5 8c487adbb9cf2faa35a66bb75ebb2296
BLAKE2b-256 fe19db44a5b226b2d688072b21d302f85b16f040a54a04c5933f0a911fb29da9

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arity-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5e43163cae0514d098cb504ed6147902f4afea8b10b094efc1cef8cdc35b1f8
MD5 3e3d6616b9fc66c1067370de7fcf3fea
BLAKE2b-256 1ce1b488ddd17b545d08c5c15d84d8199f4ad34c93458f223984feaefc1d1467

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for arity-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1011502de11a455797e434d844c943e12fe0b93ed5b56a6488870a1df1ecadbc
MD5 4268d31226734035f91cdd7942803e24
BLAKE2b-256 5f33055d1d1a74ae53adc1b455a67c716e8ad832786aa6f4e88d636f8f7b2809

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: arity-0.4.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.6 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.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a8448650621c9e343db7d75aada746272c435c164a6c822045dc25cd6fafc80
MD5 d88123ac9c59b78cb09ab9b9bbc194be
BLAKE2b-256 99715c8fefe5160db9a3aadc08a8c424509e6066085cbfd16ebc4cef4dcfd4a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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.4.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for arity-0.4.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7b3c03448e272627636fdd6c864cf843ab4b8d557067966de0fc12f6971a6a18
MD5 62714b7095662a1012c3d89065854a20
BLAKE2b-256 482512daa579655d10c08108f488beb56d2ff6854158e74966972264be8713b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for arity-0.4.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