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
Make it possible to override the Package Manager URL (#9165)
This commit introduces a new `positron.r.packageManagerRepository`
setting that allows users to override the Posit Package Manager URL used
to install R packages (in some scenarios).
The new setting allows users of self-hosted Package Manager
installations to configure Positron to use them. They also benefit from
our existing logic for determining the appropriate Linux binaries
automatically.
It also opens the door to users pointing at a specific CRAN snapshot on
Public Package Manager rather than `latest`.
Under the hood this works by passing a new flag down to Ark. Companion
PR: posit-dev/ark#906.
### Release Notes
#### New Features
- A new `positron.r.packageManagerRepository` setting allows overriding
the Posit Package Manager URL used to install R packages when
`positron.r.defaultRepositories` is set to `auto`.
#### Bug Fixes
- N/A
### QA Notes
Please advise.
Signed-off-by: Aaron Jacobs <[email protected]>
Copy file name to clipboardExpand all lines: extensions/positron-r/package.nls.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@
70
70
"r.configuration.defaultRepositories.rstudio.description": "Use the RStudio CRAN mirror (cran.rstudio.com)",
71
71
"r.configuration.defaultRepositories.posit-ppm.description": "Use the Posit public package manager (packagemanager.posit.co)",
72
72
"r.configuration.defaultRepositories.none.description": "Do not set a default repository or change the value of the 'repos' option",
73
+
"r.configuration.packageManagerRepository.description": "The Posit Package Manager repository URL to use for R package installation, rather than the default https://packagemanager.posit.co/cran/latest.\n\nOnly takes effect when `#positron.r.defaultRepositories#` is `auto` (restart Positron to apply).",
73
74
"r.walkthrough.migrateFromRStudio.title": "Migrating from RStudio to Positron",
74
75
"r.walkthrough.migrateFromRStudio.description": "Learn how to get started with R in Positron as an RStudio user!",
75
76
"r.walkthrough.migrateFromRStudio.panesAndUI.title": "Get to know the Positron UI",
0 commit comments