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
Having an attribute on the repos option set by Positron would definitely help. The idea here being, renv only wants to override the repositories to use P3M if it appears the repositories are the "default" value for the session; if the user has explicitly set their own custom repositories, then renv tries to leave it alone.
Random thought that maybe it would be best to choose an agnostic name for the attribute like IDE <- TRUE, or IDE <- "RStudio" / "Positron". Or even default <- TRUE
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: