本文へ移動

r-rig-app バージョン履歴

Posit Software, PBC. · macOSでRのインストールを管理し、複数のRバージョンの導入と切り替え、パッケージやプロジェクト依存関係の管理を行います。

Caskプログラミング言語とランタイム 1,034
インストールコマンド
brew install --cask r-rig-app
過去 30 日間のインストール数
33
Appランキング 1531 位
過去1年間のインストール数
163
過去365日間の合計
最新バージョン
0.11.1
ダウンロードサイズ
17MB
pkg
更新頻度
2週間ごと
過去30日間に1回リリース
  1. 1

    最新

    GitHub Release

    DejaVu 2.37 subset (Sans, Serif, Sans Mono; regular/bold/italic/bold-italic) that rig installs next to the portable Linux R builds, which bundle libfontconfig but no fonts.

    Built by tools/make-fonts-asset.sh. Not tied to a rig release: it only changes when the font set changes, and then it gets a new number and a new tag.

  2. 0.12.0-alpha

    プレリリース

    GitHub Release

    rig 0.12.0 alpha

    New features

    • New rig audit command: it checks the packages of a project's lock file and library, or of an R library, for known vulnerabilities and for versions that the repository blocks. rig audit --fix upgrades them to the nearest version without known problems. It exits with status 1 if it finds problems, so it can be used in CI. rig pkg audit does the same for a package library, inside or outside a project. --exclude-newer limits the upgrades to versions published before a given date.

    • rig now reads a package repository according to its type (CRAN mirror, Posit Package Manager, Bioconductor, r-universe, etc.), detected from the server or set with type in rproj.toml or rig repos add --type. For CRAN mirrors rig reads the full history of CRAN, so older versions are available, too.

    • rig proj lock and rig pkg install now record the git commit of packages from r-universe repositories. If r-universe later replaces the package file, rig proj sync builds the package from git at the locked commit.

    • rig ppm has new subcommands to query a Posit Package Manager instance: repos, snapshots, sources, transactions and whoami. The new rig ppm pkg group has the commands about packages: list, info, history, vulns, downloads, and publish, which uploads a package to a local source. rig ppm builds and rig ppm build-log moved to rig ppm pkg builds and rig ppm pkg build-log; the old names still work. rig ppm url can now print repository URLs, for a snapshot and for Linux binaries, and rig ppm status also shows the statistics and feature flags of the instance.

    • rig now reads a Package Manager token from the PACKAGEMANAGER_TOKEN environment variable, for the instance in PACKAGEMANAGER_ADDRESS. It sends Package Manager tokens to the Package Manager API as bearer tokens.

    Projects

    • R sessions in synced rig projects now read .Renviron.rig after ~/.Renviron. Put secrets that must not be committed into this file (#518).

    • rig proj import improvements. It now:

      • parses author names better, and rig proj export writes them back in the same form;
      • records the order of the DESCRIPTION fields in description-field-order in [tool.rig], and rig proj export writes the fields in the same order;
      • rewrites DESCRIPTION from the new rproj.toml, like rig proj export --force. Use --keep-description to leave DESCRIPTION unchanged;
      • adds rproj.toml, rproj.lock, .rvenv, .rvenvlib, .Renviron and .Renviron.rig to .Rbuildignore;
      • adds rproj.lock to .gitignore. A package is checked against many versions of its dependencies, so it should not commit a lock file.
    • rig proj renv import improvements. It now:

      • creates both rproj.toml and rproj.lock, and the lock file has the same package versions as renv.lock. Use --no-lock-versions to skip creating rproj.lock;
      • sets r-versions in rproj.toml to the R version of renv.lock;
      • imports repositories and detects their type;
      • warns about packages from unsupported sources;
      • imports packages that renv installed from GitHub, GitLab, Bitbucket or git as git dependencies.
    • rig proj export now writes exact version requirements as pkg (== 1.0.0) in DESCRIPTION, because R does not support a single =. It also writes strict bounds as > and <, not >> and <<.

    • In admin mode, when rig proj sync or rig run need to install R, they now run rig add in a separate process, and only that process runs with sudo (or as administrator on Windows). Before, the whole command ran again with sudo after the R installation, so the project library and the package cache were owned by root (#503).

    • rig proj sync no longer fails to install the project's own package. It copied the project's .rvenv directory too, while it was installing the dependencies there, and this sometimes failed.

    Package installation

    • rig now retries package downloads that fail with a transient error, a broken connection, a timeout, or some 4xx and 5xx HTTP statuses. It tries each URL up to three times.

    • rig now respects servers that rate limit requests, e.g. the public Posit Package Manager at p3m.dev. If a server answers with 429 Too Many Requests, or with a Retry-After header, rig pauses all downloads from that server for the time in Retry-After and then tries again.

    • rig pkg install --no-install-self now only skips the local packages (paths) named on the command line. Before, it skipped every named package.

    • rig pkg install and rig proj sync now show why a package failed to install when the error happens outside of R CMD INSTALL, e.g. when the library is not writeable. Before, this error was only in the debug output (#504).

    • rig pkg install and rig proj lock now choose binary packages for the architecture of the R version, not rig's own. Before, an x86_64 build of rig on aarch64 Windows installed x86_64 binaries into the library of an aarch64 R. rig pkg install and rig proj sync now also reinstall packages that were built for another architecture.

    • rig pkg doctor now reports packages built for another architecture on Windows too, e.g. x86_64 packages in the library of an aarch64 R.

    R installations

    • rig now supports manylinux_2_28 R builds, which only need glibc 2.28, so rig now works on RHEL 8, Rocky Linux 8, Ubuntu 20.04, etc. (#402, #517).

    • In user mode on macOS, rig add now sets FONTCONFIG_FILE in R's etc/Renviron, so cairo graphics devices, e.g. svg(), work correctly. Reinstall R versions installed with an older rig to get the fix, e.g. with rig add --reinstall (#439, #524).

    • rig's code in the system Rprofile now only creates the user library if R_LIBS_USER is an absolute path. Before, it created a directory called 'NULL' on Windows during R CMD check, which sets R_LIBS_USER to 'NULL', with the quotes.

    • rig now creates .exe shims differently, without modifying the signed .exe files, to avoid interference with security software. Run rig system make-links to update the existing quick links, including the aliases and the default version, and rig proj sync in your projects to update their shims.

    Certificates

    • In user mode on Linux and for portable installations in admin mode, SSL_CERT_FILE and CURL_CA_BUNDLE set in the shell now take precedence over the rig CA bundle in R's Renviron.site. Run rig system update-certs to fix R versions that are already installed (#501).

    • On Linux, rig now points portable R installations at the system CA bundle, e.g. /etc/ssl/certs/ca-certificates.crt, so R trusts the same certificates as the rest of the system. It only downloads the Mozilla bundle from curl.se if it cannot find a system bundle. Both rig add and rig system update-certs do this (#501).

    • rig system update-certs now also works in admin mode on Linux. It updates the portable R installations, and runs sudo if needed.

    rig itself

    • rig now has nightly builds, published as the nightly GitHub release. Install them with rig self update --nightly.

    • rig self update now works on Windows on ARM.

  3. 0.11.1

    パッチ

    GitHub Release Homebrewへの登録

    • New rig proj sync --check option to check that the project environment is in sync with rproj.lock. It exits with status 1 if sync would install, update or remove any package, e.g. after packages were installed or removed by hand, and with status 2 on other errors (#495).

    • rig proj lock --check now exits with status 2 on errors, e.g. if there is no rproj.toml, and keeps status 1 for a missing or out of date rproj.lock.

    • rig proj sync --dry-run no longer fills in a missing .Renviron or .rvenvlib, it only says that sync would. It now fails if there is neither an rproj.toml nor an rproj.lock, like rig proj sync does.

    • New rig add --no-default option to install an R version without making it the default when no default R version is set yet, and rig add --without-path to skip putting rig's quick-link directory on the PATH (the shell startup files on macOS and Linux, the user PATH on Windows). Tools that run rig to install R, like RStudio, can use them to leave the user's default R, quick links, PATH and IDE settings alone.

    • rig list, rig add and other commands no longer fail on macOS in user mode when ~/.local/bin does not exist yet (#491).

    • rig system clean-registry on Windows now removes all stale R and Rtools registry entries and "Add/Remove Programs" entries.

    • rig list, rig add and other commands no longer fail with on macOS in user mode when ~/.local/bin does not exist yet (#491).

    • rig on Linux now uses an updated embedded root certificate bundle (webpki-root-certs 1.0.10), which drops the compromised "emSign ECC Root CA - G3" root (see GHSA-hq85-5cpj-mr62).

    • rig pkg install and rig proj sync now install git, GitHub and url:: package sources on Windows again. rig passed \\?\ paths to R CMD INSTALL, which R rejected (#485).

    • rig proj import and rig proj lock now handle Remotes and Config/Needs/* entries for packages with a dot in their name, e.g. Rdatatable/data.table (#476).

    • rig proj lock now keeps relative 'path' dependencies relative in the lock file. The root project is saved with path ".", if it is a package.

    • rig proj import and rig proj export now convert all [build] entries to and from the ByteCompile, NeedsCompilation, LazyData, Biarch and KeepSource DESCRIPTION fields.

    • rig proj status now reports whether rproj.lock is up to date with rproj.toml, e.g. after a manual edit of rproj.toml. It runs the same check as rig proj lock --check (#466).

    • New prefer-binary and exclude-newer configuration entries (and RIG_PREFER_BINARY and RIG_EXCLUDE_NEWER environment variables) set the defaults of --prefer-binary and --exclude-newer for rig pkg install and the rig proj commands (#441).

    • The project .Renviron now quotes the saved R_LIBS_USER value, so it works with Windows paths. Delete .Renviron and call rig proj lock to recreate it with the fixed version in existing projects.

    • rig now sends a User-Agent header with its HTTP requests, e.g. rig/0.11.1 (+https://github.com/r-lib/rig).

    • rig now supports authenticated repositories and Posit Package Manager instances. See the new "Authentication" guide.

    • New rig pkg sync [LOCKFILE] command installs the packages of a lock file into a library, without touching the project environment.

    • A new --cache-dir flag, RIG_CACHE_DIR environment variable, and cache-dir configuration entry allow overriding the location of rig's cache. --no-cache still takes precedence.

    • Packages are now installed with file modes more closely aligned with those left by R CMD INSTALL. Existing packages in the cache are left unchanged.

    • An R session that runs a different R minor version than the one the project was synced for now really leaves the project library alone. Before, rig printed a warning, but still activated the library (#450). Call rig proj sync in existing projects to update the activation code.

    • The dependency solver now treats a dash in a package version the same as a dot, like R does, so e.g. version 0.3-3 satisfies >= 0.3.3 (#453).

    • New rig proj lock --check and rig proj sync --locked options, to fail if rproj.lock is missing or out of date with rproj.toml, e.g. in CI (#411).

    • rig pkg install now calls its --no-install-project option --no-install-self. The old name still works, as an alias (#442). rig proj sync accepts --no-install-self as an alias of --no-install-project.

  4. 0.11.0

    展開

    OpenNavo編集部 Homebrewへの登録

    設定可能なリポジトリと Bioconductor、スクリプト環境とロックファイル、Linux のシステム要件のインストール、各種パッケージおよびプロジェクト機能を追加しました。

    リポジトリ
    R バージョンごとに組み込みまたは独自リポジトリを管理。パッケージおよびプロジェクトのコマンドで設定済みリポジトリを使用。Bioconductor のインストールとリポジトリ固定に対応。
    スクリプト
    R とパッケージ要件を宣言した自己完結型スクリプトを実行。スクリプトの依存関係をロックし、選択したパッケージを更新。明示的に更新しない限り、ロックファイルの固定バージョンを保持。
    パッケージ
    可能な場合、Linux でパッケージのシステム要件をインストール。パッケージ診断、パス依存関係、インストール制約を追加。プロジェクトの対象、日付フィルター、バイナリ優先設定を追加。

    rig 0.11.0 では、組み込みおよび独自の CRAN 互換リポジトリを管理できます。リポジトリの選択は R バージョンごとに記憶され、パッケージおよびプロジェクトのコマンドでは、1 回の実行に限って設定を上書きできます。Bioconductor のインストールは対象の R バージョンに対応するリリースを使い、プロジェクトのマニフェストとロックファイルでそのリリースを固定できます。ロックファイルはバージョン 5 になりました。

    スクリプトブロックに必要な R バージョンとパッケージ依存関係を宣言できます。rig はキャッシュ内に分離された環境を作成し、スクリプトの依存関係をロックし、すべてまたは選択したパッケージを更新できます。プロジェクトのロックでは、更新を明示的に指示しない限り、引き続き条件を満たす固定バージョンを保持します。また、パス依存関係、設定可能な対象、日付による制限、バイナリ優先設定に対応しました。

    Linux では、権限があればパッケージのインストールやプロジェクト同期時に不足する OS 要件をインストールし、そうでなければ必要なコマンドを表示します。ほかに、パッケージ診断、制約付きまたはパス指定のインストール、CRAN 検索、Windows のスクリプト関連付け、JSON 出力オプション、.Renviron の未マーク部分の保持が追加されました。Windows 版 rig バイナリに署名が付与されました。出典:公式リリースノート。

  5. 0.11.0-beta-2

    展開

    GitHub Release

    rig 0.11.0 beta 2

    Custom repositories

    • New rig repos add and rig repos rm commands to add and remove your own CRAN-like package repositories, e.g. an internal CRAN mirror or an r-universe. rig stores them in its configuration file, and they work like the built-in repositories, e.g. with --with-repos. rig repos add --enable --all-versions enables a repository for all R versions, including the ones you install later.

    • New rig repos enable and rig repos disable commands to turn repositories, built-in or custom, on and off for each R version.

    • rig now remembers the repositories enabled and disabled for each R version, with these commands or with --with-repos / --without-repos, and applies them again on rig repos setup. rig repos setup now asks for administrator rights if the current user cannot update the files of the R installations, e.g. in admin mode on Linux and Windows.

    • rig pkg install, rig pkg deps, rig pkg tree, rig pkg available and rig pkg info now use the repositories configured for the R version, including custom ones. rig pkg deps, rig pkg tree, rig pkg available and rig pkg info have a new --r-version option. rig pkg search still searches CRAN only.

    • rig pkg install, rig pkg deps, rig pkg tree, rig pkg available and rig pkg info have new --with-repos and --without-repos options, with aliases --index and --no-index, to use other repositories for one command, without changing the setup of the R version. --with-repos also takes repository URLs, or name=URL.

    • rig pkg commands now only use Bioconductor packages if the Bioconductor repositories are enabled for the R version, e.g. with rig repos enable bioconductor.

    • rig now sets up P3M by default on macOS, and on the Linux distributions P3M has no binary packages for, where P3M is a CRAN mirror of source packages. P3M stays off on aarch64 Windows, because it only has x86_64 Windows binaries. Use --without-repos=p3m or rig repos disable p3m to turn it off.

    • --without-repos=cran (and rig repos disable cran) now turns off CRAN completely.

    • rig proj now implements [[repository]] entries of rproj.toml and repository pinning. rig proj lock, rig proj sync, rig proj deps and rig proj tree have new --with-repos and --without-repos options to add and remove repositories for one command.

    Bioconductor

    • rig proj and rig pkg now install Bioconductor packages, besides CRAN packages, from the Bioconductor release that belongs to the R version. CRAN and Bioconductor share one package namespace, so a bioc::<package> entry in Remotes: or Config/Needs/* is the same as <package>. A bioc entry in the [[repository]] array of rproj.toml pins the Bioconductor release, or turns Bioconductor off. rproj.lock is now version 5, and records the Bioconductor release of every target.

    • rig pkg info now shows the full DESCRIPTION of the current version of a Bioconductor package, e.g. its title, description and maintainer, from the VIEWS file of its Bioconductor repository.

    Inline scripts

    • rig run now support self-contained scripts, that declare the packages and the R version they need in a # /// script comment block. rig then runs the script in its own environment, in the cache directory, and installs R and the packages as needed. rig run --upgrade and rig run --upgrade-package upgrade the packages of a script's environment.

    • New rig proj lock --upgrade-package (-P) option, to upgrade only some packages, and keep the versions rproj.lock pins for the rest. It also takes a version requirement, e.g. -P 'cli@>= 3.6.4', for this run only (#410).

    • rig proj lock now keeps the versions rproj.lock pins when it has to solve the dependencies again, e.g. after rig proj add, as long as they still fit rproj.toml. Use --upgrade to pick the latest versions.

    • rig proj init, rig proj add and rig proj remove have a new --script option, to create and edit the # /// script block of an R script, instead of a project's rproj.toml (#414).

    • New rig proj lock --script script.R to lock the dependencies of a script with a # /// script block into script.R.lock, next to the script. rig run then installs the R and package versions of the lock file, and updates it if the block changes. rig run --locked fails instead of updating it (#422).

    • New rig system script-assoc command on Windows, to run .R files with rig from cmd and PowerShell, e.g. hello.R a b.

    System requirements

    • rig pkg install, rig proj sync and rig run now install the system requirements of R packages on Linux, like pak does. rig matches each package's SystemRequirements field against the r-system-requirements rules, and installs the missing OS packages if it runs as root or if sudo needs no password. Otherwise it prints the commands to run. Source packages and distribution-specific binaries need this, manylinux binaries do not. --no-sysreqs turns this off for one run; the new sysreqs, sysreqs-sudo, sysreqs-update and sysreqs-rules-url config entries configure it; sysreqs = "print" only shows the commands.

    • rproj.lock now records the SystemRequirements of each package, so it is version 5. Run rig proj lock to update an older lock file.

    Other new features

    • rig now honors the OS_type field of packages: a Unix-only package is not used on Windows, and a Windows-only package is not used on macOS and Linux.

    • rig add now has a --json option. It prints information about the installed R version (or the already installed version that was kept), including whether it is a new installation and whether it is the default.

    • rig rtools add now has a --json option. It prints information about the installed (or already installed) Rtools versions, including whether each one is a new installation.

    • New rig pkg search command to search CRAN packages, using the same web service as the pkgsearch R package.

    • New rig pkg doctor command to find problems with the packages in a library: missing or too old dependencies, and packages compiled against another version of a LinkingTo dependency (#393).

    • rig proj commands now support path dependencies.

    • rig pkg install <path> is now supported. <path> can be a directory, of a source or binary package file.

    • rig pkg install now supports constraints. E.g. to install a specific version of a package use rig pkg install '<pkg>@=<ver>'.

    • rig proj import --force now correctly overwrites the existing project files.

    • If the root project is a package, rig proj lock now includes it in the solution, with a file:// URL.It also calls rig proj export to (re)create its DESCRIPTION file and rig proj sync now installs the root project if it is a package.

    • rig pkg install --no-install-project installs only the dependencies of the named packages, like rig proj sync --no-install-project.

    • rig proj lock now rewrites the lock file if the list of R versions to solve for changes.

    • New --exclude-newer option for rig proj lock, rig proj sync and rig pkg install, to ignore CRAN package versions published after a date, e.g. --exclude-newer 2025-06-01, or in the last few days, e.g. --exclude-newer "7 days". Projects can set it in rproj.toml, with exclude-newer in [tool.rig].

    • Projects and scripts can now set prefer-binary in [tool.rig]. rig proj init and rig proj import have a new --prefer-binary option, to write the setting into the manifest.

    • Projects can now set the platforms and R versions rig proj lock solves for in rproj.toml, with platforms and r-versions in [tool.rig], e.g. r-versions = ["4.5", "4.6"]. --platform and --r-version override them.

    • rig proj lock now also solves for source packages by default rig proj sync uses this target only if no other target matches the machine.

    • rig run <script> now passes every argument after the script on to the script, including the ones starting with -, and --. A script that starts with #!, e.g. #!/usr/bin/env -S rig run, does not need an .R extension any more (#413).

    • rig run --rscript does not pass an extra --args argument to scripts and -e expressions any more, so commandArgs(TRUE) only has the arguments you gave.

    Windows specific changes

    • The rig binaries themselves are now signed on Windows, not only the rig installer.
  6. 0.10.0

    展開

    OpenNavo編集部 Homebrewへの登録

    全プラットフォームのユーザーモード、パッケージ・プロジェクト用コマンド、Linux向けポータブルRビルド、Windowsの.exe shim、各種システムツールを追加しました。

    コア
    全プラットフォームにユーザーモードを追加。LinuxはポータブルRに対応。Rパッケージ、リポジトリ、キャッシュ、PPM、設定のコマンドを追加。自己更新と自己アンインストールのコマンドを追加。
    プロジェクト
    プロジェクトと仮想環境の管理コマンドを追加。rig run はプロジェクト環境と宣言済みスクリプトを使用。プロジェクトライブラリをプロジェクト外に集約可能。
    プラットフォーム
    Windowsビルドに署名。.bat shimを.exe shimに変更。macOSのrig sysreqsを削除。gfortranは別途インストール。macOSのBLAS/LAPACK切り替えなどのシステムツールを追加。

    rig 0.10.0では全プラットフォームにユーザーモードを追加しました。管理者権限なしで、ユーザーのホームディレクトリにRとリンクをインストールできます。Linuxでは、ディストリビューション固有のビルドがない場合にポータブルRビルドを利用できます。パッケージ管理コマンドと、依存関係ツリー、ロック、同期などのプロジェクト用コマンドを追加しました。rig run はプロジェクト環境を使用でき、プロジェクトライブラリを任意で一元管理できます。

    そのほか、Posit Package Manager、リポジトリ、キャッシュ、設定、システムディレクトリ、macOSのBLAS/LAPACK選択、およびrigの自己更新・削除用ツールを追加しました。Windowsビルドに署名し、コマンドshimを.batから.exeに変更しました。ハードコードされた.bat shimのパスは更新が必要な場合があります。macOSのrig sysreqsは削除されました。gfortranはR for macOSのツールサイトからインストールしてください。引数なしのrig runは既定で--no-save --no-restoreを使用します。rig 0.10.0リリースノートと新しいドキュメントサイトを参照してください。

  7. 0.10.0-beta3

    展開

    GitHub Release

    rig 0.10.0 beta 3

    Web site

    • rig has a new documentation website at https://rig.r-lib.org/, including a full CLI reference and a guide to admin vs. user mode.

    User mode

    • rig now supports a user mode on all platforms, in addition to the default admin mode. In user mode rig installs everything into the user's home directory and never needs sudo or administrator privileges. R goes into ~/.local/share/rig/r (%APPDATA%\rig\data\r on Windows) and quick links into ~/.local/bin (%USERPROFILE%\.local\bin on Windows). Select the mode with the --user / --admin global flags, the RIG_MODE environment variable, or the mode key in the rig config file. The new rig system user-mode command switches an existing admin-mode setup to user mode.

    • On Linux, rig can now install portable R builds, for glibc- and musl-based Linux distros. If there is no distro-specific build for your platform, rig falls back to a portable build automatically.

    R package management

    • New rig pkg subcommand to query and manage R packages. Two subcommands from rig repos moved to rig pkg: rig pkg available and rig pkg info. rig pkg deps lists the packages a package needs, in a table, and rig pkg tree shows the same dependencies as a tree. rig pkg list lists the packages installed in a library, rig pkg remove deletes packages from a library, and rig pkg install installs packages, and their dependencies, into a library.

    Projects

    • New and redesigned rig proj commands to manage isolated R projects and virtual environments: rig proj init, rig proj import, rig proj add, rig proj remove, rig proj lock, rig proj sync, rig proj status.

    • New rig proj tree shows the dependency closure of a project as a tree.

    • rig run now uses the project environment, if you call it in a project directory: it starts .rvenv/bin/R, with the project's package library and the R version the project's lock file names, and it syncs the project first if the environment is missing or out of date. Use --no-project (or --r-version) to run the default R version instead.

    • rig run <name> now runs a script the project declares in a [[bin]] table of its rproj.toml, passing the remaining arguments on to the script. rig run --list lists the declared scripts.

    Windows specific

    • Windows builds of rig are now signed, thanks to the SignPath Foundation, https://signpath.org/.

    • On Windows rig now creates .exe shims instead of bat shims. With .exe shims it is easier to pass command line arguments to R and Rscript. In particular, Rscript -e <code> now works if <code> has line breaks. Call rig system make-links to create all .exe shims and remove the .bat shims. If you hardcoded shims with a .bat extension, change them to .exe or remove the extension completely (#362).

    • New rig system fix-r-alias subcommand.

    • rig rtools is now a top-level command (it used to be rig system rtools).

    • On Windows, R CMD config now works without manually putting Rtools on the PATH. So do R CMD sh, R CMD make and rig run --cmd config.

    Other new features

    • New rig cache command to inspect and manage rig's download and build caches. rig now reflinks or hardlinks packages from the cache when possible, instead of copying them, to save disk space and time.

    • New rig ppm command queries Posit Package Manager. New rig ppm build-log shows the build log of a package on Posit Package Manager.

    • New rig repos status checks the configured package repositories.

    • rig library add, rig library default, rig library list and rig library rm have a new --r-version (-r) option, to operate on the libraries of an R version other than the default one.

    • New rig system dirs command to show the directories rig uses. With --r, --binary, --data, --cache, --download, --log, --rtools (Windows only) or --fonts (Linux only) it prints a single path, for use in scripts.

    • New rig config command to manage the rig configuration file.

    • rig run --cmd <command> [args...] now runs R CMD <command> [args...] with the selected R version.

    Other changes

    • rig add --without-p3m works correctly again (#369).

    • macOS user mode: rig default now sets the default R version correctly for newer RStudio versions. Also, rig system allow-debugger-rstudio now works for newer RStudio versions.

    • rig now uses a user-dependent download directory, to avoid interference between users.

    • rig now does not edit the shell startup files in admin mode, like rig 0.8.1 did on macOS. rig now only does this in user mode.

    • rig repos available now prints a compact table. New rig repos available <name> shows complete information about a single repository.

    • rig system setup-user-lib (and its create-lib alias) now works again.

    • rig rstudio --config-path is now implemented on Linux and macOS.

    • rig now warns instead of failing when it encounters a broken R installation (#346).

  8. 0.10.0-beta2

    展開

    GitHub Release

    rig 0.10.0 beta 2

    • macOS user mode: rig default now sets the default R version correctly for newer RStudio versions. Also, rig system allow-debugger-rstudio now works for newer RStudio versions.

    • On Windows rig now creates .exe shims instead of bat shims. With .exe shims it is easier to pass command line arguments to R and Rscript. In particular, Rscript -e <code> now works if <code> has line breaks. Call rig system make-links to create all .exe shims and remove the .bat shims. If you hardcoded shims with a .bat extension, change them to .exe or remove the extension completely (#362).

    • New rig ppm command queries Posit Package Manager.

    • New rig repos status checks the configured package repositories.

    • New rig pkg subcommand to query and manage R packages. Two subcommands from rig repos moved to rig pkg: rig pkg available and rig pkg info. rig pkg deps lists the packages a package needs, in a table, and rig pkg tree shows the same dependencies as a tree. rig pkg list lists the packages installed in a library, rig pkg remove deletes packages from a library, and rig pkg install installs packages, and their dependencies, into a library.

    • rig proj deps has a new --recursive (-r) option, to show the whole dependency closure of the project.

    • New rig proj tree shows the dependency closure of a project as a tree.

    • rig library add, rig library default, rig library list and rig library rm have a new --r-version (-r) option, to operate on the libraries of an R version other than the default one.

    • rig now uses a user-dependent download directory, to avoid interference between users.

    • rig now does not edit the shell startup files in admin mode, like rig 0.8.1 did on macOS. rig now only does this in user mode.

    • rig repos available now prints a compact table. New rig repos available <name> shows complete information about a single repository.

    • rig system setup-user-lib (and its create-lib alias) now works again.

    • rig now supports a user mode on all platforms, in addition to the default admin mode. In user mode rig installs everything into the user's home directory and never needs sudo or administrator privileges. R goes into ~/.local/share/rig/r (%APPDATA%\rig\data\r on Windows) and quick links into ~/.local/bin (%USERPROFILE%\.local\bin on Windows). Select the mode with the --user / --admin global flags, the RIG_MODE environment variable, or the mode key in the rig config file. The new rig system user-mode command switches an existing admin-mode setup to user mode.

    • rig has a new documentation website at https://rig.r-lib.org/, including a full CLI reference and a guide to admin vs. user mode.

    • New rig config command to manage the rig configuration file.

    • New rig system dirs command to show the directories rig uses. With --r, --binary, --data, --cache, --download, --log, --rtools (Windows only) or --fonts (Linux only) it prints a single path, for use in scripts.

    • New experimental rig proj command to manage R project dependencies.

    • rig run --cmd <command> [args...] now runs R CMD <command> [args...] with the selected R version.

    • rig rtools is now a top-level command (it used to be rig system rtools).

    • On Windows, R CMD config now works without manually putting Rtools on the PATH. So do R CMD sh, R CMD make and rig run --cmd config.

    • On Linux, rig can now install portable R builds, for glibc- and musl-based Linux distros. If there is no distro-specific build for your platform, rig falls back to a portable build automatically.

    • New rig system fix-r-alias subcommand.

    • rig rstudio --config-path is now implemented on Linux and macOS.

    • rig now warns instead of failing when it encounters a broken R installation (#346).

  9. 0.10.0-betaGitHub Release
  10. 0.10.0-alpha2GitHub Release
  11. 0.10.0-alphaGitHub Release
  12. 0.8.1

    展開

    OpenNavo編集部 Homebrewへの登録

    RIG_PLATFORM 環境変数の処理を修正し、macOS で 4.6.0 より新しい R を rig からインストールできるようになりました。

    修正
    RIG_PLATFORM が再び正しく機能します。macOS で R > 4.6.0 をインストールできます。

    RIG 0.8.1 では、RIG_PLATFORM 環境変数の処理が修正され、再び正しく機能するようになりました。macOS では、rig を使って R > 4.6.0 を正しくインストールできるようになりました。リリース時点の現行 R-devel も対象です。

    出典:https://github.com/r-lib/rig/releases/tag/v0.8.1

  13. 0.8.1-beta

    展開

    GitHub Release

    • The RIG_PLATFORM environment variable works correctly again (#325).

    • rig can now install R > 4.6.0 (current R-devel) correctly on macOS.

  14. 0.8.0

    展開

    GitHub Release

    • New rig repos subcommand to manage R package repository setup across all installed R versions.

    • The --without-p3m option of rig add is now always available, for consistency across platforms. By default P3M is on on x86_64 Windows and supported Linux distros, as before. The new --with-p3m option turns on P3M on macOS as well.

    • rig now supports aarch64 Windows. It currently only supports installing aarch64 builds of R and Rtools on aarch64 Windows. The x86_64 build of rig also works on aarch64 Windows and installs aarch64 builds of R and Rtools. Installing and managing x86_64 builds of R on aarch64 Windows is not supported yet.

    • rig now supports RHEL 10 and binary compatible distributions like AlmaLinux OS 10 and Rocky Linux 10.

    • R installations by rig now do not set the default CRAN repositories in RStudio and Positron (#203).

    • rig now supports the new macOS arm64 Sonoma builds, which are are the default CRAN builds starting from R 4.6.0 (current R-devel).

  15. 0.8.0-beta2GitHub Release
  16. 0.8.0-beta

    展開

    GitHub Release

    • rig now supports aarch64 Windows. It currently only supports installing aarch64 builds of R and Rtools on aarch64 Windows. The x86_64 build of rig also works on aarch64 Windows and installs aarch64 builds of R and Rtools. Installing and managing x86_64 builds of R on aarch64 Windows is not supported yet.

    • rig now supports RHEL 10 and binary compatible distributions like AlmaLinux OS 10 and Rocky Linux 10.

    • R installations by rig now do not set the default CRAN repositories in RStudio and Positron (#203).

    Issues

    • rig resolve and rig available default to x86_64 builds on aarch64 Windows (#298)
    • rig available --list-rtools-versions always lists Rtools for x86_64 Windows (#298)
  17. 0.7.1

    展開

    GitHub Release

    • macOS packages now include completion files for elvish and fish shells (#221, @TymekDev).

    • rig available --list-distros output now includes PPM support, whether the a distro is retired, the EOL and in the JSON format also the last R version for that distro.

    • rig add is now better at detecting PPM support for new Linux distribution versions. In particular, new Linux distribution releases do not need a rig update to learn about PPM support. Relatedly, rig system detect-platform now does not report PPM support. Use rig available --list-distros to see which Linux distributions have PPM binaries.

    • rig run now exits with the exit code of the R process (#261).

    • Custom certificates via the SSL_CERT_FILE environment variable work again (#227).

    • rig library default does not crash now (#240).

    • rig now uses a better way to get the user's home directory, that works on systems without an /etc/passwd database (#228).

    • Windows: rig supports Rtools45 now.

  18. 0.7.0

    展開

    GitHub Release

    • Bash completions work well again (#202).

    • rig rstudio has a new implementation that works much better. Now it always defaults to the R version in renv.lock for renv projects, and can open RStudio projects or directories.

    • New rig available --list-rtools-versions option to list available Rtools versions.

    • rig run now does not terminate the rig process on interrupts (CTRL+C, CTRL+BREAK on Windows, SIGINT on Unix) (#187).

    • Windows: new rig system rtools subcommand to add, remove, list Rtools versions (#18).

    • Windows: rig now supports Rtools44 on Windows.

    • Windows: rig now defaults to Rtools42 for R 4.2.x on Windows.

    • macOS: rig rstudio <version> works again on recent macOS versions (#208).

    • macOS: rig now always creates the /usr/local/bin/R-* quick links with 0755 permissions (#200).

    • Linux: rig add --without-p3m works again (#193).

    • Linux: RIG_PLATFORM works again when sudo is needed (#191).

  19. 0.6.1preGitHub Release
  20. 0.6.0

    展開

    GitHub Release

    • rig now supports RPM based distros, in addition to Debian and Ubuntu (#28). The full list of supported distros, on x86_64 and aarch64:

      • Debian 10, 11, 12,
      • Ubuntu 18.04, 20.04, 22.04,
      • Fedora Linux 37, 38,
      • OpenSUSE 15.3, 15.4,
      • SUSE Linux Enterprise 15 SP3, SP4,
      • CentOS 7,
      • Red Hat Enterprise Linux 7, 8, 9,
      • AlmaLinux 8, 9,
      • Rocky Linux 8, 9. See also the new rig available --list-distros.
    • New rig available command to list R versions available to install. rig available --list-distros lists the supported Linux distributions.

    • New rig run to run R, an R script or an R project, using the selected R version (#161).

    • rig now works in a shell that is a subprocess or R, e.g. in the RStudio terminal (#127).

    • rig now works behind a proxy, on macOS and Linux, if the https_proxy environment variable is set (#166).

    • rig resolve now has a --platform and a --arch arguments, to look up available R versions for any supported platform, instead of the current one.

    • rig ls --plain lists only the R version names, this is useful in shell scripts (#128).

    • rig rstudio now starts RStudio with the correct working directory and project (#139, #100).

    • macOS: rig add now only changes the permission for the R version that it is installing (#109).

    • Windows: rig rstudio now starts the correct R version, even with newer RStudio versions (#134).

    • Windows: rig now works in PowerShell 7.

    • Windows: the rig installer now does not create shortcut in the start menu (#160).

    • Linux and macOS: rig now keeps the locales when switching to the root user, so e.g. the language does not change (#138).

    • Linux: rig now works properly in Oh My Zsh (#125).

    • Linux: rig now works around a missing /usr/bin/sed that happened on some distros (#119).

    • Linux: rig now does not fail if the default R version was deleted (#124).

    • Linux: new subcommand rig system detect-platform to print the detected Linux distribution and configuration.

    • Linux: You can now set the RIG_PLATFORM environment variable to override the auto-detected Linux distriution. E.g. RIG_PLATFORM=ubuntu-22.04 will force Ubuntu 22.04.

    • Linux: rig now comes with a CA certificate bundle, so it works without system certificates. If you prefer not to use it, set the SSL_CERT_FILE environment variable to point to your preferred CA bundle (#176).

  21. 0.5.99-prerelease

    展開

    GitHub Release

    rig 0.5.99

    • rig now supports RPM based distros, in addition to Deboan and Ubuntu (#28). The full list of supported distros, on x86_64 and aarch64:

      • Debian 10, 11, 12,
      • Ubuntu 18.04, 20.04, 22.04,
      • Fedora Linux 37, 38,
      • OpenSUSE 15.3, 15.4,
      • SUSE Linux Enterprise 15 SP3, SP4,
      • CentOS 7,
      • Red Hat Enterprise Linux 7, 8, 9,
      • AlmaLinux 8, 9,
      • Rocky Linux 8, 9. See also the new rig available --list-distros.
    • New rig available command to list R versions available to install. rig available --list-distros lists the supported Linux distributions.

    • New rig run to run R, an R script or an R project, using the selected R version (#161).

    • rig now works in a shell that is a subprocess or R, e.g. in the RStudio terminal (#127).

    • rig now works behind a proxy, on macOS and Linux, if the https_proxy environment variable is set (#166).

    • rig resolve now has a --platform and a --arch arguments, to look up available R versions for any supported platform, instead of the current one.

    • rig ls --plain lists only the R version names, this is useful in shell scripts (#128).

    • rig rstudio now starts RStudio with the correct working directory and project (#139, #100).

    • macOS: rig add now only changes the permission for the R version that it is installing (#109).

    • Windows: rig rstudio now starts the correct R version, even with newer RStudio versions (#134).

    • Windows: rig now works in PowerShell 7.

    • Windows: the rig installer now does not create shortcut in the start menu (#160).

    • Linux and macOS: rig now keeps the locales when switching to the root user, so e.g. the language does not change (#138).

    • Linux: rig now works properly in Oh My Zsh (#125).

    • Linux: rig now works around a missing /usr/bin/sed that happened on some distros (#119).

    • Linux: rig now does not fail if the default R version was deleted (#124).

    • Linux: new subcommand rig system detect-platform to print the detected Linux distribution and configuration.

    • Linux: You can now set the RIG_PLATFORM environment variable to override the auto-detected Linux distriution. E.g. RIG_PLATFORM=ubuntu-22.04 will force Ubuntu 22.04.

    • Linux: rig now comes with a CA certificate bundle, so it works without system certificates. If you prefer not to use it, set the SSL_CERT_FILE environment variable to point to your preferred CA bundle (#176).

  22. 0.5.3

    展開

    GitHub Release

    • rig can now install x86_64 R 4.3.0 and later on macOS.

    • rig now does a better job when resolving R versions.

    • rig now supports Rtools43 on Windows.

    • rig now does not try to reinstall Rtools if the same version is already installed.

  23. 0.5.2

    展開

    GitHub Release

    • rig now always runs non-interactively on Linux from a root shell (#117).
    • rig now always uses --vanilla when running R (#120).
    • rig now detects Deepin Linux as Debian (#111).