Add packages.r.packageManager setting to choose pak or base R#13755
Merged
Conversation
Adds an enum setting (auto/pak/base) that controls which R package manager the Packages pane uses for install, update, and remove. Default 'auto' preserves the existing prompt-then-fall-back-to-base behavior; 'pak' installs pak silently when missing; 'base' avoids pak entirely so users with constrained disk space can opt out of pak's caching. Consolidates _ensurePak/_getPakMethod into a single _resolveMethod that honors the setting and applies uniformly to list, search, install, update, and uninstall. renv projects are unaffected. See #13606
|
E2E Tests 🚀 |
bricestacey
commented
May 26, 2026
bricestacey
commented
May 26, 2026
bricestacey
commented
May 26, 2026
bricestacey
commented
May 26, 2026
Renames the setting key, shortens the enum descriptions, reworks the top-level description, and scopes the setting to RESOURCE so it can be overridden per workspace. See #13606
…er-setting # Conflicts: # src/vs/workbench/contrib/positronPackages/browser/positronPackages.contribution.ts
jmcphers
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an enum setting (auto/pak/base) that controls which R package manager the Packages pane uses for install, update, and remove. Default 'auto' preserves the existing prompt-then-fall-back-to-base behavior; 'pak' installs pak silently when missing; 'base' avoids pak entirely so users with constrained disk space can opt out of pak's caching.
See #13606
Release Notes
New Features
Bug Fixes
Validation Steps
Open the settings. You can find it under Features / Packages.
Using each value, you can update the same package to its current version.
You can also try all the other actions.