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

Allow update_packages() prompt to be overridden #1261

Closed
wants to merge 1 commit into from

Conversation

pkq
Copy link
Contributor

@pkq pkq commented Jul 13, 2016

Following up on ticket #1260, this PR adds the ability to use update_packages() non-interactively by adding an override argument (i.e., override = TRUE). Currently, calling update_packages() without a list of packages prompts the user to confirm the updates - this PR allows the user to override this prompt.

FYI, I did read guidelines for contributing, as requested, but wasn't sure how or where to add a test for this.

Thanks.

@jimhester
Copy link
Member

I think it would be better to test if pkgs is TRUE and update all packages if so (without prompting).

@pkq pkq force-pushed the update_packages-override branch 2 times, most recently from 38ec24a to ab514c1 Compare November 8, 2016 23:01
@pkq
Copy link
Contributor Author

pkq commented Nov 8, 2016

Is this what you had in mind?

@pkq
Copy link
Contributor Author

pkq commented Jan 26, 2017

I've cleaned this pull request up a bit, PTAL. Any guidance regarding testing is appreciated. Thanks!

@jimhester jimhester added this to the 1.13.0 milestone May 3, 2017
@jimhester
Copy link
Member

Thanks! Merged in aa5d4da

@jimhester jimhester closed this May 17, 2017
@pkq
Copy link
Contributor Author

pkq commented May 17, 2017

Thank you!

@pkq pkq deleted the update_packages-override branch May 17, 2017 14:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants