[R-pkg-devel] Installation took CPU time XXX times elapsed time

i@bi@@@ber@h@rd m@iii@g oii u@ibe@ch i@bi@@@ber@h@rd m@iii@g oii u@ibe@ch
Wed Oct 1 18:58:16 CEST 2025


Dear list members,

We are trying to get our package rsofun updated on CRAN. The source code is hosted in the master branch at: https://github.com/geco-bern/rsofun

The CRAN pretest fails on Debian with the NOTE: “Installation took CPU time 2.8 times elapsed time”. For full output see: https://win-builder.r-project.org/incoming_pretest/rsofun_5.1.0_20251001_152239/

From what I gathered, the discrepancy between walltime and elapsed time hints at use of more than two cores. Note that contrary to issues I found online, here it appears to be linked to installation of the package and not the test suite, examples, or vignettes. Test suite, examples, and vignettes report equal walltime and elapsed time.

The cookbook (https://contributor.r-project.org/cran-cookbook/code_issues.html) suggests use of the j-flag for compilation (which I am unsure how to implement). Whereas LLMs suggest to ensure all dependencies are stated in ‘src/Makevars’ (which I tried to ensure). However still no success with the current version of the code.

I would appreciate any suggestions how to resolve this.
Best regards!

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list