You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
ernstki
changed the title
Docker image doesn't work with rocker/shiny:latest
Dockerfile doesn't work with rocker/shiny:latest
Nov 25, 2019
The
rocker/shiny:latest
image from Docker Hub installs R 3.6.something (as of this writing). Thepackrat.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 ofas 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 yourpackrat.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 userocker/shiny:3.3.2
instead. I'll file a PR if that solves it.The text was updated successfully, but these errors were encountered: