Re: [R-pkg-devel] doMC dependency

2017-05-15 Thread Maxime Turgeon
If you look at the CRAN page for the package doMC, you'll notice that in the reverse dependencies, there are only "reverse suggests" and "reverse enhances" (no "reverse depends"). Looking at the source code for some of the packages in "reverse suggests" should give you an answer to your question

Re: [R-pkg-devel] doMC dependency

2017-05-15 Thread Brian G. Peterson
On Mon, 2017-05-15 at 16:09 +, Christopher Lalansingh wrote: > Hi everyone, > > > I'm preparing to release a package which uses doMC for > parallelization in certain functions. I've used require(doMC) to > specify this for these functions, and importFrom("doMC", > "registerDoMC") in my NAMESP

Re: [R-pkg-devel] doMC dependency

2017-05-15 Thread Uwe Ligges
The question is why you want to make doMC an hard install time dependency. Better make it optional (via Suggests) and provide different parallelization mechanisms on platforms where doMC is unavailable. Best, Uwe Ligges On 15.05.2017 21:00, David Hugh-Jones wrote: From what you say it so

Re: [R-pkg-devel] doMC dependency

2017-05-15 Thread David Hugh-Jones
>From what you say it sounds as if your package fails on Windows because, well, it doesn't work on Windows, given that doMC isn't available. Trying to hide that would seem weird. Does CRAN insist that all packages should work on all platforms? On Mon, 15 May 2017 at 19:40, Christopher Lalansingh <

[R-pkg-devel] doMC dependency

2017-05-15 Thread Christopher Lalansingh
Hi everyone, I'm preparing to release a package which uses doMC for parallelization in certain functions. I've used require(doMC) to specify this for these functions, and importFrom("doMC", "registerDoMC") in my NAMESPACE. I ran all the R CMD --as-cran checks under 3.4.0 and R-devel on Debian