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

Dockerfile doesn't work with rocker/shiny:latest #24

Open
ernstki opened this issue Nov 25, 2019 · 0 comments
Open

Dockerfile doesn't work with rocker/shiny:latest #24

ernstki opened this issue Nov 25, 2019 · 0 comments

Comments

@ernstki
Copy link

ernstki commented Nov 25, 2019

The rocker/shiny:latest image from Docker Hub installs R 3.6.something (as of this writing). The packrat.lock for DNAlandscapeR was created with R 3.3.2.

Simply cloning this repository and doing a docker build . will result in an error message along the lines of

error: '::Rf_pythag' has not been declared

as the package Rcpp is being built from source, which is fundamentally the same as the issue described here. Apparently some #define was removed from R a while ago, but the version of Rcpp in your packrat.lock still expects it to be there.

There might be some kind of workaround to get everything working by installing just a slightly newer version of Rcpp as detailed here (0.12.17, whereas the current in CRAN is 1.0.3).

I'm going to try just modifying the Dockerfile to use rocker/shiny:3.3.2 instead. I'll file a PR if that solves it.

@ernstki ernstki changed the title Docker image doesn't work with rocker/shiny:latest Dockerfile doesn't work with rocker/shiny:latest Nov 25, 2019
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

1 participant