-
Notifications
You must be signed in to change notification settings - Fork 271
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
package BH boost errors env #405
Comments
I do not why the build error of a "randomly chosen" package off CRAN would be a Rocker bug. Maybe it is (You could use a little bit of Unix + Docker refinment. Instead of RUN mkdir /home/rstudio/.local
RUN mkdir /home/rstudio/.local/share
RUN mkdir /home/rstudio/.local/share/renv
RUN mkdir /home/rstudio/.local/share/renv/binary so a single
Ditto for RUN chmod a+rwx /home/rstudio/.local
RUN chown -R rstudio /home/rstudio/.local which I would write as RUN chmod a+rwx /home/rstudio/.local \
&& chown -R rstudio /home/rstudio/.local as each That's not your bug though which is a different issue. I also do not understand why one would want Lastly, we offer several venues to take advantage of prebuilt binaries to avoid whatever building issue you may run into... I suggest we close this as I see no Rocker bug here (yet, so feel free to reformulate if you think Rocker is at fault). |
Hi, thanks for the response! Pretty new to the Docker environment and really appreciate your help. I follow the guide https://rstudio.github.io/renv/articles/docker.html to use renv and docker, because I thinks it is a good idea.
Could you give me some hints how i can do this? Closing this Issue as you said. Cheers |
Here is one way:
|
Thank you very much @eddelbuettel it works now. Build from from source now also works, probably was missing some dependancies. Need to have a look how I can use the caching from |
@HannesOberreiter can you provide a bit more information about what you are doing, e.g. your Note that you can get binary installation on the image you're using with:
This works because that image uses a CRAN mirror which has pre-built linux binaries for this distro. You can change the mirror to a snapshot so that you get the same versions each time if you prefer. We do that automatically for you on Of course this should work with |
@cboettig thank you for your answer. I try to build a workflow were I can use my own I had in mind that the libraries should install on runtime At the moment my "work-in-progress" project looks like this: github project with docker file connected to the dockerhub were it builds my github file automatically /r/hannesoberreiter/melt_graz. I start up the container and link my cache folder, start I think there is something happening at the |
RSPM is still quite new and it looks like the dust hasn't settled yet in |
@cboettig thank you very much for the explanation! It sheds a little bit more light into my dark nights to understand how to best work with docker and rocker. :) |
Hi everyone,
I try to build a docker container (
FROM rocker/tidyverse:4.0.0
) which should useenv
for version control with caching and the packageqpcR
.While installing / compiling the needed packages I run into some trouble, see error message below.
Don't know if this is a problem coming with the ROCKER container.
Thanks! Cheers Hannes
I also added my DOCKERFILE below.
The text was updated successfully, but these errors were encountered: