Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any tricks to speed up install time #22

Open
jangorecki opened this issue Oct 3, 2023 · 4 comments
Open

any tricks to speed up install time #22

jangorecki opened this issue Oct 3, 2023 · 4 comments

Comments

@jangorecki
Copy link
Contributor

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...

@Tmonster
Copy link
Contributor

Tmonster commented Oct 4, 2023

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

@jangorecki
Copy link
Contributor Author

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.

@eitsupi
Copy link
Contributor

eitsupi commented Oct 4, 2023

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).

@jangorecki
Copy link
Contributor Author

Or at least reused compiled code when doing changes only R or Rd files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants