-
Notifications
You must be signed in to change notification settings - Fork 113
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
Bug Report: <tbl_cross(margin = "col") incompatible with add_p(source_note = TRUE)> #1520
Comments
Thank you @meenakshi-kushwaha for the bug report! The issue arises when converting the gtsummary table to a flextable format.
I'll fix this bug, but in the meantime, I hope this solution will work. Let me know! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, Thank you for the very useful package!
As in the reprex below when I specify
margin = "col"
intbl_cross()
followed byadd_p(source_note = TRUE)
in an Rmd document I get the following error when knitting into word document. The code chunk runs fine by itself but I get this error when trying to knit the document. I can remedy the error by removingmargin = col
or by removingsource_note = TRUE
. But I would love to use both options together for a custom cross_table.error
"
Error in
data.frame()
:! arguments imply differing number of rows: 3, 4
Backtrace:
Execution halted"
reprex (Rmd script)
output:
word_document: default
The text was updated successfully, but these errors were encountered: