-
Notifications
You must be signed in to change notification settings - Fork 108
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
New labeller: label_dictionary()
#461
Conversation
Still on the fence about the use of "lut". I don't think many users will immediately understand what it does Don't know if |
I'd be happy to change the name into either of these |
I feel we used the |
In tidyverse/ggplot2#6077, we'd allow |
then let's mirror that |
Merge branch 'main' into label_lut # Conflicts: # man/label_parse.Rd # man/label_wrap.Rd
also need to rename the test file |
Good catch |
This PR aims to fix #458.
Briefly, you pass a named vector and the breaks will be matched to the names, and the value will be returned as the label.
Examples rendered:
Created on 2024-10-07 with reprex v2.1.1