Check the pbapply package for cross-platform apply* parallelization. Also
'future' might be worth a look (by Henrik Bengtson) although I haven't taken a
closer look at it yet.
On 15. May 2017, 21:09 +0200, Uwe Ligges ,
wrote:
> The question is why you want to make doMC an hard install time depe
gests" should give you an answer to your question.
Max
From: R-package-devel on behalf of
Brian G. Peterson
Sent: May 15, 2017 3:04:10 PM
To: Christopher Lalansingh; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] doMC dependency
On Mon, 2017-05-15 at 16
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
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
>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 <
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