-
Notifications
You must be signed in to change notification settings - Fork 153
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
renv::update()
ignores renv::settings$ignored.packages
.
#425
Comments
BTW, ignoring packages seems to be broken. If my package is ignored and it's in
Re-installing doesn't work, same message. |
Assuming I'm understanding the second issue, it sounds like you're trying to ignore a package that is required by another package. Is that correct? If so, I think the issue here is in the error message -- the ignored package should still be omitted from the lockfile, but the diagnostic work that runs beforehand is flagging |
That's right. The package is required by another package, and I want to freeze the dependency. |
I believe this is fixed now on master -- let me know if that doesn't appear to be the case. |
If I do
renv::settings$ignored.packages("purrr")
and thenrenv::update()
, purr is still updated. Is there a way to freeze a package when others are updated?I think
renv::update(exclude = "...")
would be useful in cases when a small set of packages should stay.The text was updated successfully, but these errors were encountered: