Implement format templates for label assembly in use_label()
I just implemented function use_label() that uses paste() to assemble the combined label and supports a single value for sep. This is a simple user interface usable in many cases. A function fmt_label()could be also useful when users want to have arbitrary separators or additional text. This is to keep a note that if use_label() turns out to be limiting, a function using a template for the overall format would be a reasonable UI, although not necessarily very easy to implement, in particular handling of parsing errors.
Two possible approaches: 1) create a wrapper on sprintf() that understands the short names of the labels and maps the assembled character vector to the label aesthetic; 2) enhance use_label() to have an interface similar to R's paste().
This does not seem urgent, so I will keep it on hold for some time.