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

Feature request: Allow building from source #596

Closed
billdenney opened this issue Feb 23, 2024 · 2 comments
Closed

Feature request: Allow building from source #596

billdenney opened this issue Feb 23, 2024 · 2 comments

Comments

@billdenney
Copy link

I was recently hit this issue: https://community.rstudio.com/t/error-in-initializeptr-function-cholmod-factor-ldeta-not-provided-by-package-matrix/178694

Briefly, the Matrix package was no longer binary-compatible from older to newer versions after an R and package upgrade. I think that there was a sequencing issue in my updates where I updated many packages and then I updated Matrix after that. In the end, I'm not sure if this was a pak issue or a more general issue for the order that I did things.

But, I wanted to use pak to rebuild everything from source and reinstall them, but I didn't see a way to require source rebuild (the equivalent of using install.packages(..., type = "source")). For this use case, I think it would be useful to be able to rebuild from source.

@gaborcsardi
Copy link
Member

See here: https://pak.r-lib.org/reference/faq.html#how-do-i-install-a-package-from-source-

@billdenney
Copy link
Author

Would you consider a PR that puts that info into ?pkg_install?

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

No branches or pull requests

2 participants