-
Notifications
You must be signed in to change notification settings - Fork 271
installGithub.r not downloading dependencies correctly in docker build #227
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
Comments
Once a *verse error filed at rocker (which is not where that code is). Will close. Can you repo in the repo containing the Dockerfile you reference? |
@stephlocke Whoops, sorry about that, looks like the argument in the littler package script now needs to be patched to match the name of the argument in |
Oh, I see. Line 45 definitely has merit. Wonder how/why that worked before -- I guess I never use the upgrade facility myself. But I think we can have a more minimal change -- no need to change the existing cmdline arg. Unless I am under-caffeinated and missing something... Will release a new littler in due course. Have some other example scripts, but at least one needs R 3.4.0. |
@cboettig I honestly still don't understand the issue. I presume you use the |
@eddelbuettel I feel your pain. I believe install_github gets the I haven't been able to track down if/when the argument changed from I don't actually call it with |
Jinx. I was also following it down to I am somewhat suspicion that the wold population of |
|
You're probably correct that few people^[1] use I know it was my PR that added the ^[1]: though I think I'm not the only one who finds the default behavior of upgrading all the dependencies automatically to be annoying, e..g r-lib/remotes#53 |
Exactly what is broken in
|
Also, I tend to
so I have never been bitten. [1] drat and all that. You know my view on package repositories as opposed to Russian roulette with random snapshots of code repositories. |
@eddelbuettel Correct, the script is only broken if the requested package has dependencies which need to be installed from CRAN. e.g. on You know I'm with you re: drat and |
I am not trying to be difficult here but I still don't get it -- (And yes, installing from git is the devil incarnate, doing it recursively with further depends is just batshit insane and asking for trouble. But hey, if it is important to you I am sure you will fix the littler script accordingly ;-) I may do it too but I still, umpteen issue ticket messages later, need a minimal repr.ex. |
@eddelbuettel Not sure I can completely debug
but not error on the call: > remotes::install_github("eddelbuettel/digest", update = TRUE) but it is relatively clear that the function calls a subroutine if it detects that the package has some other R packages in the I think you can confirm though that with the exception of packages like |
(Sorry, was out bidding farewell to a friend leaving for your Wrong Coast...) Wouldn't that analysis put the error with |
No, the problem is that I've given the wrong name for the argument in the installGithub.r script, it should have been |
Ok, then we're back to my initial comment on your commit that we only need to change line 45 and nothing else. I'm ok with that. |
Uh oh!
There was an error while loading. Please reload this page.
Using a Dockerfile like
When this goes through a build step on Docker Hub, I'm getting errors like:
I'm assuming problem is PICNIC but the examples I've seen of installGithub look similar to the above
Any guidance on how to resolve?
The text was updated successfully, but these errors were encountered: