openanalytics/shinyproxy-shiny-demo-minimal

Issue with adding the aws s3 library to the Dockerfile

rajvanshyr opened this issue · 3 comments

Hi all,
The application that I want hosted on the ShinyProxy requires the r library aw.s3. When I run the application locally, it runs without issues, however, when I add the line RUN R -e "install.packages(c('aws.s3'), repos = 'http://cloudyr.github.io/drat')" to the Dockerfile and try testing the image, I get the the following response: “Warning: Error in library: there is no package called ‘aws.s3’”. When I push this Docker image to my server and try to navigate to its url I get error status code 500 associated with the following Message: Container did not respond in time. Any ideas on what’s causing this and how I can make my application hosted on ShinyProxy work with the aws.s3 library? Thanks in advance!

“Warning: Error in library: there is no package called ‘aws.s3’”.

This suggests there could have been errors during the package installation, so you should check the logs of the docker image building to see what went wrong.

Also probably a better place to post this kind of issues (unrelated to the github repository contents) is https://support.openanalytics.eu/ forum.

Hi @rajvanshyr,

I have got the same issue. Have you found the solution?

Kind regards,

@pkinif Can you share the error that you get while building the docker image?
One possible solution to try is using install.packages(c('aws.s3'), repos = c('https://cloud.r-project.org', 'http://cloudyr.github.io/drat')) command to make sure all dependencies are properly installed