-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opt users into using PPM when using default repos on Positron #1963
Comments
Having an attribute on the repos option set by Positron would definitely help. The idea here being, |
Random thought that maybe it would be best to choose an agnostic name for the attribute like |
As of Positron 2024.09.0 build 27, this is new getOption("repos")
#> CRAN
#> "https://cran.rstudio.com/"
#> attr(,"IDE")
#> [1] TRUE Created on 2024-09-11 with reprex v2.1.1 |
We've gotten reports where this code opting users into PPM is not quite working on Positron:
renv/R/lockfile.R
Lines 52 to 58 in 8573b0d
What we see in Positron for
repos
is this:Created on 2024-08-06 with reprex v2.1.1
I think it doesn't have the attribute that RStudio adds on? We could add a
"Positron"
attribute torepos
if that helps here.I do want to note that on running
renv::diagnostics()
, the user in Positron saw this instead:As a workaround for now, folks can manually set their repos:
The text was updated successfully, but these errors were encountered: