Ensure that breaks and labels are of the correct form
check_breaks_and_labels(breaks = NULL, labels = NULL)
breaks
labels
Hadley Wickham <h.wickham@gmail.com>