-
Notifications
You must be signed in to change notification settings - Fork 155
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
Cannot install bioconductor Rhtslib using Dockerfile and renv - without renv works fine #1957
Comments
I had the exact same issue, same error, but this line you proposed worked for me! My Dockerfile is similar to yours up to the line "install Renv", after that I have:
Hope this helps, good luck! (And thanks for the solution!) |
Thanks for the bug report. Very strange! I'm able to reproduce using your Dockerfile, but the issue seems to be independent of
I would recommend contacting the Bioconductor team; it looks to me like there's some issue in the Rhtslib package available on Bioconductor. In case it's relevant, I reproduced this issue running on a macOS machine (M1 processor), and so the Docker container was running with Apple's Rosetta emulation. |
hmm. I am also running on a Mac, perhaps that's relevant. I'll create an issue on the Bioconductor page. |
I'm trying to build a renv.lock file using a dockerfile (so it can run in a CI environment).
As a Dockerfile I've created the following:
This part runs fine.
However, the problem starts when adding Rhtslib (which is required for the bioconductor packages i actually need).
The RENV docs tell me that i can install bioconductor packages using the
https://rstudio.github.io/renv/reference/install.html#bioconductor
format.So I've tried adding this in the installer by adding this to the Dockerfile following the syntax as described by the docs:
This will crash the build, ending with a:
However, if i run the script without the renv method like so:
It runs just fine.
However, my understanding is that installing it this way wont add this package to the renv.lock file, so this is not what i want.
Is there a reason why this isnt installing?
Is it RENV that cant handle compressed files or something? Or am i using incorrect syntax?
If none of the above it might be a bug.
As summary the full script with both the working and broken line commented out:
The text was updated successfully, but these errors were encountered: