Added support for a skip field in air.toml (#273).
This is an extension of the # fmt: skip comment feature that provides a single place for you to list functions you never want formatting for. For example:
skip = ["tribble", "graph_from_literal"]
This skip configuration would skip formatting for these function calls, even without a # fmt: skip comment:
tribble(
~x, ~y,
1, 2,
3, 4
)
igraph::graph_from_literal(A +-+ B +---+ C ++ D + E)
We expect this to be useful when working with packages that provide domain specific languages that come with their own unique formatting conventions.
Fixed an issue where air.toml settings were not being applied to the correct R files (#294).
Install air 0.5.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/posit-dev/air/releases/download/0.5.0/air-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/posit-dev/air/releases/download/0.5.0/air-installer.ps1 | iex"
Download air 0.5.0
─────────────────────────────────────────┬───────────────────┬─────────────
File │Platform │Checksum
─────────────────────────────────────────┼───────────────────┼─────────────
air-aarch64-apple-darwin.tar.gz │Apple Silicon macOS│checksum
─────────────────────────────────────────┼───────────────────┼─────────────
air-x86_64-apple-darwin.tar.gz │Intel macOS │checksum
─────────────────────────────────────────┼───────────────────┼─────────────
air-aarch64-pc-windows-msvc.zip │ARM64 Windows │checksum
─────────────────────────────────────────┼───────────────────┼─────────────
air-x86_64-pc-windows-msvc.zip │x64 Windows │checksum
─────────────────────────────────────────┼───────────────────┼─────────────
air-aarch64-unknown-linux-gnu.tar.gz │ARM64 Linux │checksum
─────────────────────────────────────────┼───────────────────┼─────────────
air-x86_64-unknown-linux-gnu.tar.gz │x64 Linux │checksum
─────────────────────────────────────────┴───────────────────┴─────────────