r-wasm / rwasm

Build R packages for WebAssembly and create a CRAN-like repo for distribution.
https://r-wasm.github.io/rwasm/
Other
54 stars 4 forks source link

Support `Ncpu` option from `install.packages()` #35

Open JosiahParry opened 2 months ago

JosiahParry commented 2 months ago

Running add_pkg() can take quite a while and it appears that it is ran sequentially. When installing packages with install.packages() one can specify the Ncpu to use more threads and thus reduce the amount of time it takes to install packages.

It would be great if this was possible with add_pkg() as well!