Skip to content

Inform that project .Renviron may take precedens when using edit_r_environ("user") #2134

Description

@netique

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

  1. added
    feature
    tidy-dev-day 🤓
    on Jun 27, 2025
  2. jennybc commented on Jun 27, 2025

    @jennybc
    Member

    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.

  3. added this to the Backlog milestone on Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurepaths 🚶‍♂️tidy-dev-day 🤓

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions