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

Summary results shifted in Word output #1325

Closed
LukasWallrich opened this issue May 15, 2023 · 2 comments
Closed

Summary results shifted in Word output #1325

LukasWallrich opened this issue May 15, 2023 · 2 comments

Comments

@LukasWallrich
Copy link
Contributor

In Word output, the results in summary rows are shifted to the right as the summary row label and the column label appear in the same column. This appears, e.g., with the following:

iris %>% select(Species, everything()) %>% 
  gt() %>% 
  grand_summary_rows(c(everything(), -Species), fns = c("Total" = ~sum(.))) %>% 
  gtsave("reports/test.docx")

image

Other output format are fine. (Still, this might be related to #769 where a similar issue was reported for rtf, though rtf works now).

@srowelluf
Copy link

I see the same thing in a quarto doc rendered as docx in GT 0.90

@thebioengineer
Copy link
Collaborator

this should be resolved in #1402 and can be closed.

@github-project-automation github-project-automation bot moved this from Next / Ready for Dev to Done in R Markdown Team Projects Aug 14, 2023
@rich-iannone rich-iannone modified the milestones: v0.9.1, v0.10.0 Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment