Repository navigation
rig 0.10.0 beta 2
Pre-release-
macOS user mode:
rig defaultnow 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
.exeshims instead ofbatshims.
With.exeshims it is easier to pass command line arguments to
RandRscript. In particular,Rscript -e <code>now works if
<code>has line breaks. Callrig system make-linksto create all
.exeshims and remove the.batshims. If you hardcoded shims with
a.batextension, change them to.exeor remove the extension
completely (#362). -
New
rig ppmcommand queries Posit Package Manager. -
New
rig repos statuschecks the configured package repositories. -
New
rig pkgsubcommand to query and manage R packages. Two subcommands
fromrig reposmoved torig pkg:rig pkg availableand
rig pkg info.rig pkg depslists the packages a package needs, in a
table, andrig pkg treeshows the same dependencies as a tree.
rig pkg listlists the packages installed in a library,
rig pkg removedeletes packages from a library, and
rig pkg installinstalls packages, and their dependencies, into a
library. -
rig proj depshas a new--recursive(-r) option, to show the whole
dependency closure of the project. -
New
rig proj treeshows the dependency closure of a project as a tree. -
rig library add,rig library default,rig library listand
rig library rmhave 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 availablenow prints a compact table. New
rig repos available <name>shows complete information about a single
repository. -
rig system setup-user-lib(and itscreate-libalias) 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 needssudoor administrator privileges. R goes
into~/.local/share/rig/r(%APPDATA%\rig\data\ron Windows) and quick
links into~/.local/bin(%USERPROFILE%\.local\binon Windows). Select
the mode with the--user/--adminglobal flags, theRIG_MODE
environment variable, or themodekey in the rig config file. The new
rig system user-modecommand 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 configcommand to manage the rig configuration file. -
New
rig system dirscommand 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 projcommand to manage R project dependencies. -
rig run --cmd <command> [args...]now runsR CMD <command> [args...]
with the selected R version. -
rig rtoolsis now a top-level command (it used to berig system rtools). -
On Windows,
R CMD confignow works without manually putting Rtools on
thePATH. So doR CMD sh,R CMD makeandrig 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-aliassubcommand. -
rig rstudio --config-pathis now implemented on Linux and macOS. -
rig now warns instead of failing when it encounters a broken R
installation (#346).