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 cl...@duke.edu<mailto:cl...@duke.edu> 919 681 8440 On Jan 15, 2020, at 9:29 PM, Jonathan Greenberg <jgreenb...@unr.edu<mailto:jgreenb...@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 <e...@debian.org<mailto:e...@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<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fdirk.eddelbuettel.com-252Fblog-252F2019-252F08-252F05-2523023-5Frocker-5Fdebug-5Fexample-26amp-3Bdata-3D01-257C01-257Cjgreenberg-2540unr.edu-257C047d13c96404437a1ddc08d79a0db508-257C523b4bfc0ebd4c03b2b96f6a17fd31d8-257C1-26amp-3Bsdata-3DfYy14TBshMGoU-252FbpY-252BC5dRIqSEN20EjcyMeZ4KFgSsg-253D-26amp-3Breserved-3D0&d=DwMGaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=NOkxkvdFOOffXzeTY2kgZQ&m=Xo31aJy4OM-qE6jLQrFJ5NaTWLKG962AGtdiHWdcPcY&s=-3w7gHfMDif4atQO7aBVbi2j6Y3Pmki4v-lM4Qcpat4&e=> 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fdirk.eddelbuettel.com-26amp-3Bdata-3D01-257C01-257Cjgreenberg-2540unr.edu-257C047d13c96404437a1ddc08d79a0db508-257C523b4bfc0ebd4c03b2b96f6a17fd31d8-257C1-26amp-3Bsdata-3D08-252FZup32MftvnSq6YVpWAjhpQBpDAUE7Hm0E5pUh7x8-253D-26amp-3Breserved-3D0&d=DwMGaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=NOkxkvdFOOffXzeTY2kgZQ&m=Xo31aJy4OM-qE6jLQrFJ5NaTWLKG962AGtdiHWdcPcY&s=fTKxC_Pl5byzzFFuJNqhJZDOwnQYCHXKIrMkEI7ubmw&e=> | @eddelbuettel | e...@debian.org<mailto:e...@debian.org> [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel