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
Add session option to disable DESCRIPTION annotation by install.packages() hook #17514
After a successful install.packages(), RStudio's hook annotates the
installed package's DESCRIPTION file with RemoteType / RemoteRepos
fields so the Packages pane can display the source repository. This
involves an available.packages() fetch, a dependency-closure
computation, a filesystem scan of the affected library paths, and a
write into each installed package's DESCRIPTION.
Some deployments would prefer that RStudio not mutate DESCRIPTION
files in installed package directories, or simply do not need the
Packages pane's detailed Source column.
Proposal
Add an admin-controlled session option, allow-package-source-recording (default true), that suppresses the
post-install DESCRIPTION annotation when set to false. With the
option disabled, the install hook skips the available.packages()
fetch, dep-closure computation, sentinel write, post-install scan, and recordPackageSource step entirely.
Activity
link allow-package-source-recording entry to #17514
tidy NEWS.md formatting (#17513)