Skip to content

0.8.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 08:39

Release Notes

  • Added support for table formatting of tribble() and fcase() calls (#113).
    You can also opt into table formatting for any other call with the # fmt: table comment directive, or the table TOML option. See also the default-table option to turn off Air's defaults for tribble() and fcase().

    Note: This feature is experimental. We'd be grateful for any feedback!

  • Formulas are now treated like assignment operators rather than like comparison operators, which means they now left-align expression chains on the right-hand side of the formula, respect persistent line breaks, and never automatically break around the ~ operator itself (#336, #402).

    With model formulas:

    # Before:
    y ~
      year +
        age +
        size
    
    # After:
    y ~
      year +
      age +
      size

    With complex case_when() calls:

    # Before:
    case_when(
      x %in% c(1, 2) ~
        {
          this + complex + thing
        },
      x %in% c(3, 4) ~
        {
          that + thing
        }
    )
    
    # After:
    case_when(
      x %in% c(1, 2) ~ {
        this + complex + thing
      },
      x %in% c(3, 4) ~ {
        that + thing
      }
    )

Install air 0.8.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/posit-dev/air/releases/download/0.8.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.8.0/air-installer.ps1 | iex"

Download air 0.8.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