Repository navigation
-
New
rig proj sync --checkoption to check that the project
environment is in sync withrproj.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 --checknow exits with status 2 on errors, e.g. if there
is norproj.toml, and keeps status 1 for a missing or out of date
rproj.lock. -
rig proj sync --dry-runno longer fills in a missing.Renvironor
.rvenvlib, it only says that sync would. It now fails if there is
neither anrproj.tomlnor anrproj.lock, likerig proj syncdoes. -
New
rig add --no-defaultoption to install an R version without
making it the default when no default R version is set yet, and
rig add --without-pathto 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 addand other commands no longer fail on macOS in user
mode when~/.local/bindoes not exist yet (#491). -
rig system clean-registryon Windows now removes all stale R and
Rtools registry entries and "Add/Remove Programs" entries. -
rig list,rig addand other commands no longer fail with
on macOS in user mode when~/.local/bindoes 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 installandrig proj syncnow install git, GitHub and
url::package sources on Windows again. rig passed\\?\paths
toR CMD INSTALL, which R rejected (#485). -
rig proj importandrig proj locknow handleRemotesand
Config/Needs/*entries for packages with a dot in their name, e.g.
Rdatatable/data.table(#476). -
rig proj locknow keeps relative 'path' dependencies relative in the
lock file. The root project is saved with path".", if it is a package. -
rig proj importandrig proj exportnow convert all[build]entries
to and from theByteCompile,NeedsCompilation,LazyData,Biarch
andKeepSourceDESCRIPTIONfields. -
rig proj statusnow reports whetherrproj.lockis up to date with
rproj.toml, e.g. after a manual edit ofrproj.toml. It runs the same
check asrig proj lock --check(#466). -
New
prefer-binaryandexclude-newerconfiguration entries (and
RIG_PREFER_BINARYandRIG_EXCLUDE_NEWERenvironment variables) set the
defaults of--prefer-binaryand--exclude-newerforrig pkg install
and therig projcommands (#441). -
The project
.Renvironnow quotes the savedR_LIBS_USERvalue, so it
works with Windows paths. Delete.Renvironand callrig proj lock
to recreate it with the fixed version in existing projects. -
rig now sends a
User-Agentheader 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-dirflag,RIG_CACHE_DIRenvironment variable, and
cache-dirconfiguration entry allow overriding the location of rig's cache.
--no-cachestill takes precedence. -
Packages are now installed with file modes more closely aligned with those
left byR 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).
Callrig proj syncin 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. version0.3-3satisfies>= 0.3.3(#453). -
New
rig proj lock --checkandrig proj sync --lockedoptions, to fail
ifrproj.lockis missing or out of date withrproj.toml, e.g. in CI
(#411). -
rig pkg installnow calls its--no-install-projectoption
--no-install-self. The old name still works, as an alias (#442).
rig proj syncaccepts--no-install-selfas an alias of
--no-install-project.