-
Notifications
You must be signed in to change notification settings - Fork 185
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
Include patched install2.r
script for non-latest images
#275
Conversation
If possible, I would like to submit 24b2589 changes to the |
I haven't had a chance to look but We could also do what I often do when I write new scripts for myself and bang on them locally for a bit, commit incrementally and only make a release once I reckon it's "stable" (or "tested" or "worthwhile" putting out or ...). So you could just run it for a bit 'just here' as a copy, and then PR over so that we aim to be in sync thereafter. |
Thank you for your prompt reply. |
LGTM |
01ba4a0
to
2e422d5
Compare
@eitsupi nice work! One question, I think it should be preferable not to have to add I would imagine just adding this to the r-ver Dockerfile, or even calling it from within the I guess once this is in place we can start phasing this in, to avoid scripts breaking when packages are removed from CRAN (like the impending geospatial shift). Part of me wonders if this is for internal use only, if we shouldn't just make the default for |
My concern was that
Since this change may affect many Dockerfiles that have Incidentally, I am wondering if the default for the |
I think it may make the most sense to include the |
Since Another reason is that modifying |
@eitsupi I'm with you 100%, we don't need to modify |
Changes suggested in #181 (comment) and #267 (comment).
The
install2.r
command currently used inrocker/r-ver
is from thelittler
package, so it is taken from CRAN snapshots and will not be updated in the non-latest images.This PR adds
install2.r
scripts to rocker_scripts to allow older images to use the latestinstall2.r
commands and to add new features.First, add a new
--skipmissing
option to allow #267 to be resolved.In the future, I hope to be able to set up a GitHub Actions workflow to capture upstream changes automatically, but currently we have to edit them manually.
ToDo
patch_install_command.sh
to rewrite the/usr/local/bin/install2.r
simlink onrocker/r-ver
.install2.r
(check if multiple packages fail with parallel install eddelbuettel/littler#91).