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
Inform that project .Renviron may take precedens when using edit_r_environ("user") #2134
This occurred to me as I was trying to edit .Renviron in an RStudio project that was equipped with project-specific .Renviron. Naturally, I was editing user .Renviron as this is the default for edit_r_environ() only to see that it had no effect. You could detect if there is project-specific .Renviron and issue a bullet point in edit_r_environ() message to remind the user that different .Renviron may be taken into account.
Activity
jennybc commentedon Jun 27, 2025
Notes for anyone who tackles this, e.g. at tidy dev day:
There are several existing functions that start with
challenge_that would be good inspiration for how to alert the user to this situation.