Skip to content

adding renv as a detectable R version provider #321

Closed

Description

@pj398

Description

Now that arf has this wonderful new ability to detect when a project uses a specific R version and launch the REPL with that R version, I was wondering whether it would be possible to add renv as an additional provider for this feature? As far as I can see, it's not currently covered by the current implementation.

Motivation

I still have some older projects that use renv and it would be nice if these could take advantage of the arf feature too. renv was probably the most popular tool for R project management for a long time, so I'm sure I'm not alone here. I think the renv.lock file would be a pretty reliable target for this, it seems to just be JSON.

Alternatives considered

No response

Additional context

No response

Activity

  1. eitsupi commented on Aug 20, 2026

    @eitsupi
    Owner

    I considered introducing a json-key type similar to the existing toml-key at the time.
    I think it would be a natural extension and therefore feasible to implement.

  2. eitsupi commented on Aug 31, 2026

    @eitsupi
    Owner

    Could you check #341?

  3. pj398 commented on Aug 31, 2026

    @pj398
    Author

    Could you check #341?

    Tested and working with my existing renv project:

    Image

    Many thanks!

  4. eitsupi commented on Aug 31, 2026

    @eitsupi
    Owner

    Thanks forconfirming!

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions