davidgohel / flextable

table farming
https://ardata-fr.github.io/flextable-book/
562 stars 81 forks source link

Outer border is broken with merged columns #512

Closed ojessen closed 1 year ago

ojessen commented 1 year ago

When producing a table with a pronounced outer border, and I merge a column, that column will not show this outer border, see following example:

data.frame(b = 1:4, a = c(rep("a", 2), rep("b", 2))) %>%
  flextable() %>%
  merge_v(j = 2) %>%
  border_outer(part = "all", border = officer::fp_border(width = 2, color = "black"))

Screenshot 2023-02-13 175340

ojessen commented 1 year ago

Issue fixed by fix_border_issues()

github-actions[bot] commented 1 year ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.