Docker Container with R --disable-long-double

Following up on this thread, I was able to cobble a working Docker container based off of the rocker R-devel base image. My working Dockerfile is at https://github.com/davidski/evaluator-docker/blob/master/noLD/Dockerfile. Not fancy, but it works.

Note that while the CRAN supplemental checks page for noLD (https://www.stats.ox.ac.uk/pub/bdr/noLD/README.txt) lists configuring with --without-long-double, when I used that flag on this image I would still get double support listed in capabilities(). I had to put in --enable-long-double=no to disable double support. Perhaps a difference in the tool chain? Would love insight on this point.

3 Likes