vec-last
ignored when only 2 elements are provided
#681
Labels
bug
an unexpected problem or unintended behavior
tidy-dev-day 🤓
Tidyverse Developer Day rstd.io/tidy-dev-day
cli_vec()
is very helpful when informing uses that they should choose one of a set of values. Usingvec-last
is great because it allows us to sayor {last-item}
meaning it is one of the options not all of them. However, when only two elements are providedcli_vec()
always says "and".Can it be fixed such that
vec-last
is used when the vector length is > 1?Created on 2024-03-21 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: