[R-pkg-devel] CRAN Debian error installation time

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Mon Jan 27 21:36:26 CET 2025


Dear Guillermo,

Welcome to R-package-devel!

В Mon, 27 Jan 2025 19:26:10 +0100
Guillermo Vinue <guillermovinue using gmail.com> пишет:

> I am writing to you because I am getting this NOTE from the CRAN
> Debian machine that is not allowing CRAN acceptance: "Installation
> took CPU time 2.9 times elapsed time". Uwe Ligges told me that this
> means that I am using more than 2 cores, but I must not use more than
> 2 by default.

The key word here is "installation". Check your configure/build
scripts. Are you using CMake, Ninja, or Cargo? Does it default to using
as many parallel processes as feasible? Most build systems nowadays
accept the -j flag to control that. Make sure to give it the flag that
limits it to two processes (most likely -j 2) when running on CRAN:
http://contributor.r-project.org/cran-cookbook/code_issues.html#using-more-than-2-cores

The above advice is very general and may completely miss the mark. If
you provide the links to the latest CRAN pre-test logs and the package
source code, someone will be able to give more precise advice.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list