[R-pkg-devel] Disable parallelism on installation time

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Wed Jul 17 10:21:27 CEST 2024


В Tue, 16 Jul 2024 21:18:17 -0300
Alberson Miranda <albersonmiranda using hotmail.com> пишет:

> besides examples, tests, vignettes and readme, what parts of code
> runs during installation of a R package

Neither. This is about `cargo build` compiling in parallel, not your
package code computing in parallel. Giving the -j 2 flag to cargo
should solve the problem:
https://github.com/R-ArcGIS/arcgisgeocode/blob/8fbd93c3607363a9fef2d445711de647e5127566/src/Makevars#L5

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list