-
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
Text for upstream dependency update prompt is confusing #207
Comments
I agree it is confusing. The ambiguous text is from |
That is unfortunate that the text is hard-coded. |
There seems to be pretty strong sentiment against the popup menus https://twitter.com/jimhester_/status/1063063224537567232, so we can think about implementing a custom text based menu. |
#245 seems to duplicate this issue |
What I find most confusing is the word 'cancel'. 'ignore' might be more accurate. How about modifying select_list <- function(choices) {
items <- paste0(seq_along(choices), ": ", choices)
cat(
"These packages have more recent versions available.",
"Which would you like to update?\n",
items,
sep = "\n"
)
cat("\nEnter one or more numbers separated by spaces, or an empty line to ignore")
res <- purrr::quietly(utils::select.list)(choices, multiple = TRUE)
res$result
} Example selecting option 3 interactively choices <- letters[1:3]
select_list(choices) |
I think it would be best for Here's an example where I wanted to back out of the installation to install
|
Ah, yeah, I second that 'ignore' over 'cancel' is much more understandable. |
When installing shiny, it asked me if I wanted to update digest. The text is confusing. Apparently just hitting enter cancels installation of the dependency (digest), but not of the target package (shiny), but that's not clear from the text.
The text was updated successfully, but these errors were encountered: