Skip to content
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

Stop using renv #14

Closed
davidorme opened this issue Mar 5, 2025 · 0 comments · Fixed by #15
Closed

Stop using renv #14

davidorme opened this issue Mar 5, 2025 · 0 comments · Fixed by #15

Comments

@davidorme
Copy link
Collaborator

We've tried to manage the R environment using renv in the same way that poetry does for Python but:

  • It doesn't work in the same way: you don't start a shell that uses the configured environment. Instead you have to activate the environment from within every script. You can do that with a .Rprofile file to source("renv/activate.R"), but that profile file has to be invoked in each directory where code lives and we'd need to get the paths right. This might be automatable, but it isn't a simple system and creates a lot of noise for new users.

  • It seems to oddly break in CI for no obvious reason.

We might want to revisit using this, but not right now.

@davidorme davidorme linked a pull request Mar 5, 2025 that will close this issue
@davidorme davidorme mentioned this issue Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant