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 param lock to update() #1849

Closed
salim-b opened this issue Mar 12, 2024 · 1 comment
Closed

Add param lock to update() #1849

salim-b opened this issue Mar 12, 2024 · 1 comment
Labels
feature a feature request or enhancement update ⬆️
Milestone

Comments

@salim-b
Copy link
Contributor

salim-b commented Mar 12, 2024

I wondered whether the recently introduced param lock in install() could also be added to update(), allowing the renv.lock lockfile to be updated automatically after successful update of the requested packages. It would be be a convenient feature for users of renv's "explicit" snapshot type.

@kevinushey kevinushey added update ⬆️ feature a feature request or enhancement labels Mar 13, 2024
@kevinushey kevinushey added this to the 1.1.0 milestone Mar 13, 2024
@kevinushey
Copy link
Collaborator

This was an easy lift, given that renv::update() calls renv::install() in the end -- I've just added this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement update ⬆️
Projects
None yet
Development

No branches or pull requests

2 participants