Skip to content

0.4.1 - 2026-07-14

Choose a tag to compare

@github-actions github-actions released this 14 Jul 07:14

Release Notes

Removed

  • RY095 (negation-comparison-precedence) is retired. The rule assumed C
    operator precedence, but R gives unary ! lower precedence than
    comparison operators: !x == y parses as !(x == y), so every flagged
    site was correct code and the suggested rewrite was a semantic no-op.
    The rule number will not be reused.

Fixed

  • RY096 no longer fires in functions whose formals include ...:
    there, hasArg(name) legitimately tests for a dots-supplied argument
    (if (hasArg(b)) list(...)$b). All 84 corpus hits were this idiom.
    The rule now only flags the provable case — a hasArg() naming a
    non-formal in a function without ... is always FALSE.

Corrections to 0.4.0 release notes

  • The scales !length(x) == 1 guards cited as newly found bugs were not
    bugs; they parse as length(x) != 1 and behave as intended. The same
    applies to RY095 reports in rpart, mice, quantreg, spdep, and mlflow.

Install ry-cli 0.4.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sims1253/ry/releases/download/v0.4.1/ry-cli-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/sims1253/ry/releases/download/v0.4.1/ry-cli-installer.ps1 | iex"

Download ry-cli 0.4.1

File Platform Checksum
ry-cli-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ry-cli-x86_64-apple-darwin.tar.gz Intel macOS checksum
ry-cli-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ry-cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
ry-cli-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
ry-cli-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum