You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exporting an object of class tbl_cross as a .docx file using gtsummary::as_gt() followed by gt::gtsave() generates a Word file that, when opened, triggers this warning pop-up:
Word found unreadable content in t1.docx. Do you want to recover the contents of this document? If you trust the source of the document, click Yes
Clicking on Yes will open the document but the table's formatting is lost.
Description
Exporting an object of class
tbl_cross
as a .docx file usinggtsummary::as_gt()
followed bygt::gtsave()
generates a Word file that, when opened, triggers this warning pop-up:Clicking on Yes will open the document but the table's formatting is lost.
Reproducible example
Other useful info
I reported this issue here: ddsjoberg/gtsummary#1613.
ddsjoberg proposed a temporary fix[*] and suggested to report this bug here too.
[*]:
Software version
Word v16.83 on macOS 14.3.1
The text was updated successfully, but these errors were encountered: