Skip to content

Add functionality to extract formatted cells from a gt table object #1045

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

Merged
merged 10 commits into from
Sep 7, 2022

Conversation

rich-iannone
Copy link
Member

This adds the extract_cells() function and allows for extraction of a vector of formatted cells from a gt table.

Fixes: #1019

Incorrect code was added in #912 and the order is reversed (so the conditional always prepends existing formatter list with new formatting directives).
@rich-iannone rich-iannone marked this pull request as ready for review September 7, 2022 22:40
@rich-iannone rich-iannone requested a review from cscheid September 7, 2022 23:07
Copy link
Member

@cscheid cscheid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming my dt_formats question has an answer that doesn't require action, this lgtm.

@rich-iannone rich-iannone merged commit 3cdb7ce into master Sep 7, 2022
@rich-iannone rich-iannone deleted the extract-cells branch September 7, 2022 23:20
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.

fmt_integer() doesn't work following fmt_number()
2 participants