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

Fix versions by default #35

Closed
noamross opened this issue Aug 15, 2019 · 1 comment
Closed

Fix versions by default #35

noamross opened this issue Aug 15, 2019 · 1 comment

Comments

@noamross
Copy link

I suggest that by default hole punch fix versions for R and packages and print an informative message for packages used. This would involve:

  • Picking the appropriate Rocker base based on local R version.
  • Using a runtime.txt to fix the MRAN date
  • Identify non-CRAN packages and set appropriate fixed-version Remotes.
@karthik
Copy link
Owner

karthik commented Aug 15, 2019

Right now it scans all the code and picks the version of R matching the last modified date of any file. That way, when someone enables binder on an old repo, we are not inadvertently forcing a newer version of R. So now it will automatically pick a rocker ver date based on file modification date. A user can overrride with by passing r_date.

Using a runtime.txt to fix the MRAN date

Once a Dockerifle is in place, runtime.txt is ignored. The MRAN date is fixed in the Dockerfile. Example

Identify non-CRAN packages and set appropriate fixed-version Remotes.

This is an open issue

@karthik karthik closed this as completed Aug 16, 2019
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

No branches or pull requests

2 participants