Skip to content
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

Allow use of units notation in spanner labels #1426

Merged
merged 12 commits into from
Sep 1, 2023

Conversation

rich-iannone
Copy link
Member

This enables users to insert nicely-formatted units (in any of the output formats) by using units notation in tab_spanner() (by supplying the units in {{<units>}} alongside the label). This works similarly to the support for units notation in column labels (with cols_label()) and in body cells (through fmt_units())

@rich-iannone rich-iannone marked this pull request as ready for review August 31, 2023 23:53
@rich-iannone rich-iannone merged commit 9ea470a into master Sep 1, 2023
@rich-iannone rich-iannone deleted the spanner-units-integration branch September 1, 2023 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant