[R-pkg-devel] Examples with CPU time is greater than elapsed time.

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Mon Nov 7 15:55:58 CET 2022



On 05.11.2022 15:41, Jiaming Yuan wrote:
> Hi all,
> 
> I tried to submit an update to the xgboost package but didn't pass the 
> pre-tests with the following note (solved the other one, but this one is 
> a bit confusing):
> 
> ```
> Flavor: r-devel-linux-x86_64-debian-gcc
> Check: examples, Result: NOTE
>    Examples with CPU time > 2.5 times elapsed time
>                         user system elapsed ratio
>    cb.gblinear.history 1.454  0.017    0.49 3.002
> 
> ```

as ratio is > 2.5 it looks like you are using multiple threads or 
processes. And CRAN only allows for two nodes when runnign parallel code.

Best,
Uwe Ligges


> I can't reproduce the note on win-builder: 
> https://win-builder.r-project.org/ as it's running on Windows but the 
> note appears on debian tests. I'm not able to reproduce it on my local 
> machine either with Ubuntu 22.04. I'm wondering what the note is trying 
> to tell me and how can I resolve it with confidence.
> 
> 
> The full log is here: 
> https://win-builder.r-project.org/incoming_pretest/xgboost_1.7.1.1_20221104_194252/Debian/00check.log .
> 
> 
> Many thanks!
> 
> Jiaming
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list