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

Add ability to renv::restore to restore only a subset of packages from the library #260

Closed
vspinu opened this issue Nov 21, 2019 · 2 comments

Comments

@vspinu
Copy link

vspinu commented Nov 21, 2019

Would be nice to be able to restore only a subset of the library. Boils down to the new packages argument to renv::restore. But I am not sure how well this would play with renv::status.

The primary use case is to use with docker in production which commonly requires only a small subset of all packages used.

It might be useful in interactive contexts as well, such as when for collaborators wants to quickly use/test only part of the functionality of the project.

This one is narrower than #253 but would quickly address a major use case.

@vspinu
Copy link
Author

vspinu commented Nov 22, 2019

Wow, this was quick :) Thanks a bunch for this!

@kevinushey
Copy link
Collaborator

Happy to help! Glad it wasn't too difficult to implement.

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