davidgohel / flextable

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

Unexpected bold `hlines()` #543

Closed DanChaltiel closed 1 year ago

DanChaltiel commented 1 year ago

Hi David,

I'm using hline() for my crosstables, and it seems that recently some wild bold rows appear somewhat randomly.

For instance, consider the following code and output:

iris %>% flextable() %>% hline()

image

fix_border_issues() is unfortunately not helping and specifying i is also randomly making the line bold.

There seems to be a pattern of every 5 and 3 rows.

I'm using flextable 0.9.1 (last on CRAN at this time).

Hope to see you in Avignon in June :-)

Dan

When submitting a new issue:

davidgohel commented 1 year ago

Probably a duplicate of #343, #374 and #535

DanChaltiel commented 1 year ago

Oh sorry, I searched through the issues but I missed those ones.

Indeed, this happens in RStudio's viewer pane but not in Chrome and not in MS Word. I guess this is a bug in the Chrome engine inside RStudio.

davidgohel commented 1 year ago

For me, it sometimes happened on chrome, but It's not happening anymore. _(ツ)_/¯

github-actions[bot] commented 10 months 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.