Skip to content

handle correctly rtf saving with cols_label + summary_rows / grand_summary_rows #1596

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 3 commits into from
Feb 28, 2024

Conversation

olivroy
Copy link
Collaborator

@olivroy olivroy commented Feb 28, 2024

Summary

Simple fix for gtsave() for .rtf with cols_label().

Extended the fix to grand_summary_rows() as well!

Note: The other saving tests don't work well on Windows on my machine, maybe double check if they run as expected for you locally? I also have not tested this widely.

Tested that the fix works for both summary_rows() and / or grand_summary_rows().

Related GitHub Issues and PRs

Checklist

Screenshot

rtf
image
html
image

@olivroy olivroy changed the title handle correctly rtf saving with cols_label handle correctly rtf saving with cols_label + summary_rows / grand_summary_rows Feb 28, 2024
@rich-iannone rich-iannone self-requested a review February 28, 2024 16:33
Copy link
Member

@rich-iannone rich-iannone left a comment

Choose a reason for hiding this comment

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

LGTM!

@rich-iannone
Copy link
Member

@olivroy thank you for this!

@rich-iannone rich-iannone merged commit b482356 into rstudio:master Feb 28, 2024
@olivroy olivroy deleted the rtf-save branch April 18, 2024 22:47
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.

cols_label and summary_rows combined makes gtsave output buggy
2 participants