openanalytics / shinyproxy-shiny-demo-minimal

Running Shiny apps in ShinyProxy (minimal variant)
http://www.shinyproxy.io
78 stars 74 forks source link

Issue with adding the aws s3 library to the Dockerfile #3

Open rajvanshyr opened 4 years ago

rajvanshyr commented 4 years ago

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!

mnazarov commented 4 years ago

“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.

pkinif commented 4 years ago

Hi @rajvanshyr,

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

Kind regards,

mnazarov commented 4 years ago

@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