This is the equivalent of range for discrete variables
discrete_range(..., drop = TRUE)
...
drop
Hadley Wickham <h.wickham@gmail.com>