-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
compatibility with renv #51
Comments
Yes apologies julou. While I was making that fix the same day, an update to |
Not necessarily but I will document this. |
Alright… I'm holding my breath! |
I spent more time trying to get a working binder instance for a project with renv using holepunch. It seems that this is either poorly supported or it would deserve more documentation ;) The sort of workflow I imagine is to work locally (on my laptop / using my account at our HPC facility), documenting the execution environment using renv and tracking changes with git. In this mindset, I expect holepunch to read the version of R and packages from After banging my head on many walls*, I finally managed to start binder for a repository under R 3.6.3 using the workflow mentioned above. However, I now have the following bug after starting R:
I suspect that this comes from the fact that this rsession is now using renv (for which devtools is not installed). Hence the call to devtools used in the Dockerfile raising an error. So I wonder if it's possible at all to use holepunch with renv… Along the same line, it seems to me that packages should not be added to the description file when renv is used (since the whole package management should be transferred to renv), which seem to indicate there is little if any integration between holepunch and renv. But maybe this is only my lack of understanding of these tools are supposed to play together (then pointing me to documentation would be helpful indeed). * I stumbled upon the following issues one after the other:
|
For the moment, I can get a binder instance doing what I need by editing the Dockerfile.
replaced by
|
My apologies @julou |
But yes the rocker/binder issues remain. |
I have created a new issue on the renv GitHub, but maybe it is due to holepunch instead: Apparently, citing @kevinushey:
Any help would be appreciated |
@ivan-paleo Are you still having this issue? I've run into it as well. |
@palermog I think I don't have the issue anymore but I'm not quite sure because I still haven't managed to make holepunch work: every time I solve an issue, another one pops up... I think it is rather due to another issue. I'll try again for my next project, but until now, I've done without holepunch and without docker... |
hi @karthik, thanks for the great package! I'm trying it out and expect tight integration with
renv
.Now on R-4.0.1 but R version "discovery" is based on date and seems not to have been updated :-/
You wrote on #45 that you would do it in the same day (Apr 9th but the last date in this table is Feb 29th 😅). So I guess a project using the most version of R at any time would work fine once this is fixed.
But integration with
renv
would require reading the R version from renv.lock, no?The text was updated successfully, but these errors were encountered: