[R-pkg-devel] Number of cores in examples
The message came from a CRAN team member, so please ask the CRAN team member who found that issue if you cannot work it out. Readers of this list cannot help unless reading the sources of your package that you have not shared with the list. Note that CRAN team members may also make mistakes given there are dozens of new submissions on a single day. Best, Uwe Ligges
On 15.09.2019 19:49, John Harrold wrote:
Hello Max, The comment I received was: Please ensure that you do not use more than 2 cores in your examples. I believe the only output I received was these incoming pretest results: https://win-builder.r-project.org/incoming_pretest/ubiquity_1.0.0_20190821_023712/ Feel free to browse through them. Thanks John On Sun, Sep 15, 2019 at 10:26 AM Max Turgeon <Max.Turgeon at umanitoba.ca> wrote:
Hi John, From the R-hub output you shared with us, we can see that you don't get the error on Ubuntu with R-devel, nor on Windows with R-3.6.1. When you received the original email from CRAN with the check output, on which platform did you get the error about using too many cores? Perhaps that info could help narrow it down, or at least you would know on which platform to test. Max Turgeon Assistant Professor Department of Statistics Department of Computer Science University of Manitoba maxturgeon.ca ------------------------------ *From:* R-package-devel <r-package-devel-bounces at r-project.org> on behalf of John Harrold <john.m.harrold at gmail.com> *Sent:* September 15, 2019 11:31:38 AM *To:* Uwe Ligges *Cc:* r-package-devel at r-project.org *Subject:* Re: [R-pkg-devel] Number of cores in examples Howdy Folks, I'm testing this on R-hub, and I've set option in the environment. I put links to the Windows and Ubuntu outputs below. I've searched for the obvious (core, parallel, etc), but I'm not really sure what I need to look for to indicate that more than one core is being used. If someone could point it out to me I'd be very grateful. Windows: https://drive.google.com/file/d/1187cRyrJLFJetaOW3WHL-mLTCTwYxOeG/view?usp=sharing Ubuntu: https://drive.google.com/file/d/1XhaKFpaPaRyJLvHuFcbWNyztzYpsLj8r/view?usp=sharing Thanks John On Sun, Sep 15, 2019 at 12:42 AM Uwe Ligges < ligges at statistik.tu-dortmund.de> wrote:
On 15.09.2019 05:39, John Harrold wrote:
Thanks Uwe, Is there a way to find out on my end where this is happening?
Yes, simply set the env var _R_CHECK_LIMIT_CORES_=true to reproduce. Best, Uwe
Thanks john On Fri, Sep 13, 2019 at 10:51 PM Uwe Ligges <ligges at statistik.tu-dortmund.de <mailto:ligges at statistik.tu-dortmund.de
<ligges at statistik.tu-dortmund.de>>> wrote:
On 14.09.2019 03:33, John Harrold wrote:
> Hello,
>
> I recently submitted a package for consideration in CRAN. One of
the
> comments was:
>
> Please ensure that you do not use more than 2 cores in your
examples.
>
> I do not believe my package does this. Is this a general comment
for a
> package that requires doParallel or was this triggered because
one of my
> examples actually used more than 2 cores?
The latter. In examples, vignettes and tests you must not start
more
than 2 workers as resources for CRAN checks are limited.
Best,
Uwe Ligges
>
> Thanks
> John
>
-- John :wq
--
John
:wq
[[alternative HTML version deleted]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel