You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9777eda
Browse filesBrowse the repository at this point in the historyBrowse files
In rig's admin mode, rig proj sync installs a missing R by re-running
the whole command elevated, so the project library under tests/.rvenv
ends up owned by root (r-lib/rig#503, fixed in rig's development
version but not in 0.11.1). Setting up the test environment on a
machine without the locked R then leaves a library the later dev
rmarkdown and knitr installs cannot write to, and they fall back to
the locked versions.
Install R with rig add first, which does nothing when that version is
already installed, then run rig proj sync --no-install-r as the calling
user. This is the sequence the CI workflow already uses. Both
configure-test-env.sh and configure-test-env.ps1 get it, since rig
elevates the same way on Windows.
Verified the already-installed path on Windows with both scripts. The
missing-R path was not exercised.
0 commit comments