[R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-15 Thread Jonathan Greenberg
One of the issues I'm running into is that it seems every time there's a Mac 
update something gets broken with regards to compilers, making it incredibly 
challenging to get the development install of R working with Rcpp (which is a 
requirement for the packages I need to use to check my packages).

I'd like to start moving towards an easier approach rather than spending days 
fixing various issues on my Mac just to run a simple --as-cran check on a 
package with the latest  r-devel.  I was HOPING there is an up-to-date Docker 
for the r-development 4.0 version out in the wild, but it seems like the rocker 
r-devel is just 3.6.2.  Any ideas?

docker run --rm -ti rocker/r-devel

Alternatively, are there any decent online checkers (except the CRAN ones)?  
r-forge seems to not do r-devel checks anymore.

--j

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-15 Thread Merlise Clyde, Ph.D.
Hi Jonathan,

rocker/r-devel was updated yesterday afternoon (I was able to pull it using 
docker on my mac - tested and it works with gcc 9/gfortran 9) and valgrind

(many thanks to the rockerstars!)

best,
Merlise

Merlise A Clyde
Professor Department of Statistical Science
Duke University
http://stat.duke.edu/~clyde

cl...@duke.edu
919 681 8440





On Jan 15, 2020, at 4:39 PM, Jonathan Greenberg 
mailto:jgreenb...@unr.edu>> wrote:

One of the issues I'm running into is that it seems every time there's a Mac 
update something gets broken with regards to compilers, making it incredibly 
challenging to get the development install of R working with Rcpp (which is a 
requirement for the packages I need to use to check my packages).

I'd like to start moving towards an easier approach rather than spending days 
fixing various issues on my Mac just to run a simple --as-cran check on a 
package with the latest  r-devel.  I was HOPING there is an up-to-date Docker 
for the r-development 4.0 version out in the wild, but it seems like the rocker 
r-devel is just 3.6.2.  Any ideas?

docker run --rm -ti rocker/r-devel

Alternatively, are there any decent online checkers (except the CRAN ones)?  
r-forge seems to not do r-devel checks anymore.

--j

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dpackage-2Ddevel&d=DwICAg&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=NOkxkvdFOOffXzeTY2kgZQ&m=oGJmbsAoNZKb4jPaU6N5uD_efT7bUREy5-CKNu7kg7c&s=XrowfhQmMclrE7WUMhq7ERAk0Df5q02p-pGMB3jDdIM&e=


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-15 Thread Dirk Eddelbuettel


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

  http://dirk.eddelbuettel.com/blog/2019/08/05#023_rocker_debug_example

It's nice as it gives a full rundown of all steps.

Hope this helps,  Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-15 Thread Jonathan Greenberg
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 
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

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 | e...@debian.org

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-15 Thread Merlise Clyde, Ph.D.
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
919 681 8440





On Jan 15, 2020, at 9:29 PM, Jonathan Greenberg 
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 
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

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 | e...@debian.org


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-22 Thread Dirk Eddelbuettel


Just to close one loop here:

On 15 January 2020 at 16:53, Dirk Eddelbuettel wrote:
| 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'.

And the actual cron(tab)-based invocation has been refreshed with updated
URLs so until docker changes their endpoints the Rocker images

   r-devel   (R-devel build accessible via 'RD' entry)
   drd   (same, a little lighter, once meant to be daily but isn't)
   drp   (ditto for R-patched)

should now again be rebuilt each weekend.

Best regards,  Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-23 Thread David Hugh-Jones
The other obvious online checker is rhub, via the rhub package.
David


On Wed, 15 Jan 2020 at 21:39, Jonathan Greenberg  wrote:

> One of the issues I'm running into is that it seems every time there's a
> Mac update something gets broken with regards to compilers, making it
> incredibly challenging to get the development install of R working with
> Rcpp (which is a requirement for the packages I need to use to check my
> packages).
>
> I'd like to start moving towards an easier approach rather than spending
> days fixing various issues on my Mac just to run a simple --as-cran check
> on a package with the latest  r-devel.  I was HOPING there is an up-to-date
> Docker for the r-development 4.0 version out in the wild, but it seems like
> the rocker r-devel is just 3.6.2.  Any ideas?
>
> docker run --rm -ti rocker/r-devel
>
> Alternatively, are there any decent online checkers (except the CRAN
> ones)?  r-forge seems to not do r-devel checks anymore.
>
> --j
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel