-
Notifications
You must be signed in to change notification settings - Fork 362
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
Investigate using / supporting renv with R #660
Comments
One way to use this is to support/detect the presence of a From reading their website for a bit: it would be interesting to know why they don't have a |
Looks pretty good to me. Curious what you think of https://rstudio.github.io/renv/articles/python.html? |
I believe |
I approve using renv. Happy to contribute some effort here. |
What do people think of making a new build pack (that inherits from the R build pack) that detects the We already support |
I like it, @betatim. I think renv.lock should take precedence over install.R, so maybe renv.locks' buildpack should be inherited by the current one? Doesn't matter too much though. |
I think of precedence being defined by the order that build packs are searched and inheritance for composing the different (compatible) environments. In my mind we'd reuse some of the infrastructure from the existing R build pack (how does the R binary get installed, RStudio, etc) but the packages that get installed come from |
Just keep in mind: if composable build packs get re-introduced, then the "should take precedence" must be realised somehow. |
Hi. I've been working on using |
Proposed change
https://rstudio.github.io/renv/ seems to be a new way to do isolated package dependencies in R from the wonderful folks at RStudio. We should investigate it to see if there's any use repo2docker can get out of that.
Alternative options
The current similar alternative is packrat, which is a lot more heavyweight and not particularly popularly used (from what I'm told).
Who would use this feature?
R folks who want isolated environments, like virtualenvs. I am not entirely sure how that fits into repo2docker, since we already use containers.
The text was updated successfully, but these errors were encountered: