Awesome -- the key was the "RD", so for me:
docker run -v /Users:/Users --rm -ti rocker/r-devel RD
(where, on a Mac, I was binding my Mac's /Users to the Docker's /Users directory)
Thanks, all!
--j
On Wed, Jan 15, 2020 at 2:53 PM Dirk Eddelbuettel <edd at debian.org<mailto:edd at debian.org>> wrote:
Jonathan,
Rocker should be building weekly r-devel and drd (similar, was meant to be a
littler "lighter", effectively the same) images.
As Merlise noticed, somehow the cronjob push to the Docker Hub build service
started to fail -- this sadly happens once in a while so I manually triggered
a rebuild. They should be good now for 'R 4.0.0 to be'. Remember to invoke it
as 'RD' (for R-Devel) in the image, there is also an r-release as just 'R'.
Your case of "am on mac and need newer stuff" was also encountered last year
by Roger Koenker whom I helped a little bit via a few short emails -- leading
him to go from "zero to hero" with Docker. We wrote a short blog post on
that which you can find at
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdirk.eddelbuettel.com%2Fblog%2F2019%2F08%2F05%23023_rocker_debug_example&data=01%7C01%7Cjgreenberg%40unr.edu%7C047d13c96404437a1ddc08d79a0db508%7C523b4bfc0ebd4c03b2b96f6a17fd31d8%7C1&sdata=fYy14TBshMGoU%2FbpY%2BC5dRIqSEN20EjcyMeZ4KFgSsg%3D&reserved=0
It's nice as it gives a full rundown of all steps.
Hope this helps, Dirk
--
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdirk.eddelbuettel.com&data=01%7C01%7Cjgreenberg%40unr.edu%7C047d13c96404437a1ddc08d79a0db508%7C523b4bfc0ebd4c03b2b96f6a17fd31d8%7C1&sdata=08%2FZup32MftvnSq6YVpWAjhpQBpDAUE7Hm0E5pUh7x8%3D&reserved=0 | @eddelbuettel | edd at debian.org<mailto:edd at debian.org>
Just in case it helps anyone else who struggles to reproduce CRAN valgind checks, I decided to document my steps with R-devel & valgrind at https://github.com/merliseclyde/docker-valgrind has the Dockerfiles to build a container starting with rocker/r-devel and adding supporting files to build the package using gcc-9 and gfortran-9
Waiting to see if that configuration actually reproduces the CRAN results (fingers-crossed that the valgrind issues have been eliminated)
best,
Merlise
Merlise A Clyde
Professor Department of Statistical Science
Duke University
http://stat.duke.edu/~clyde
clyde at duke.edu<mailto:clyde at duke.edu>
919 681 8440
On Jan 15, 2020, at 9:29 PM, Jonathan Greenberg <jgreenberg at unr.edu<mailto:jgreenberg at unr.edu>> wrote:
Awesome -- the key was the "RD", so for me:
docker run -v /Users:/Users --rm -ti rocker/r-devel RD
(where, on a Mac, I was binding my Mac's /Users to the Docker's /Users directory)
Thanks, all!
--j
On Wed, Jan 15, 2020 at 2:53 PM Dirk Eddelbuettel <edd at debian.org<mailto:edd at debian.org>> wrote: