Open yjml opened 5 months ago
I've come across the same issue, in the stackoverflow they gave me a workaround. Use the unicode character for "NO-BREAK SPACE" - "\U00A0"
This works:
x2 <- knitr::kable(df, "html", col.names = c("\U00A0", "\U00A0", "Overall"))
collapse_rows(x2, 1L)
Here's the link for where I got the answer: https://stackoverflow.com/questions/78326899/how-to-remove-the-name-of-first-column-of-a-table-with-collapse-rows-with-rmarkd/78327214
Describe the bug
collapse_rows
does not collapse rows if the column name is set to empty string (viacol.names
inkable()
). This used to work in <1.4 versions as I recall.To Reproduce