Skip to content
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

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

Open
rajvanshyr opened this issue Nov 25, 2019 · 3 comments
Open

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

rajvanshyr opened this issue Nov 25, 2019 · 3 comments

Comments

@rajvanshyr
Copy link

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
Copy link
Member

mnazarov commented Nov 26, 2019

“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
Copy link

pkinif commented Feb 25, 2020

Hi @rajvanshyr,

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

Kind regards,

@mnazarov
Copy link
Member

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants