Closed raiphilibert closed 6 years ago
Thank you for the bug report. MWE:
ht <- huxtable(mtcars[1:5,2:10], add_colnames = TRUE)
colspan(ht)[2,1] <- 9
ht <- ht %>% set_all_borders(1)
quick_docx(ht)
Seems to be to do with how flextable represents borders.
Could you check if current master fixes your problem (and doesn't cause any others)?
Thanks! It's all fixed now (and no other problems that I can see).
I used a colspan to merge some table headers. However, when exporting to word, the right border does not show up.
Reproducible example (see output screenshot below):
It would also be great if we could export the caption but I think that this is more of an issue with the flextable object than the huxtable.