Release Notes
-
Parenthesized expressions now tightly hug (#248).
-
We now allow up to 2 lines between top-level elements of a file. This makes it possible to separate long scripts into visually distinct sections (#40).
-
Unary formulas (i.e. anonymous functions) like
~ .x + 1
now add a space between the~
and the right-hand side, unless the right-hand side is very simple, like~foo
or~1
(#235). -
Semicolons at the very start or very end of a file no longer cause the parser to panic (#238).
-
Assigned pipelines no longer double-indent when a persistent line break is used (#220).
-
Hugging calls like:
list(c( 1, 2 ))
are no longer fully expanded (#21).
-
Assigned pipelines no longer double-indent (#220).
-
Added support for special "skip" comments.
Use
# fmt: skip
to avoid formatting the following node and all of its children. In this case, thetribble()
call and all of its arguments (#52).# fmt: skip tribble( ~a, ~b, 1, 2 )
Use
# fmt: skip file
to avoid formatting an entire file. This comment must appear at the top of the file before any non-comment R code (#219).
Install air 0.4.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/posit-dev/air/releases/download/0.4.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.4.0/air-installer.ps1 | iex"
Download air 0.4.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 |