duckdb-r
duckdb-r copied to clipboard
any tricks to speed up install time
Any known tricks to speed up install time? Also this that happens during R CMD check
* checking whether package 'duckdb' can be installed ...
[35m/35m] OK
35 minutes is quite a blocker for comfortably testing changes...
Are you talking about just in the GitHub actions? Or locally? Locally you can try to use CCACHE
https://dirk.eddelbuettel.com/blog/2017/11/27/
https://stackoverflow.com/q/45512586/946850
You can also enable parallel builds with
MAKE="make -j{ncores}" R CMD check . or MAKE="make -j{ncores}" R CMD INSTALL .
This has made my local development time much faster
Sounds good, will test next time when installing. What seems reasonable is to include it somewhere on the readme, so users can find that straight away.
Sorry if this is not possible as I am not familiar with the internal structure of this package, but I am wondering if it is possible to download and use the pre-compiled libduckdb as the arrow package does (on Linux).
Or at least reused compiled code when doing changes only R or Rd files