How to make tables appear with desired kableExtra theme on pkgdown website?

I am using pkgdown to build my package website. However, when utilizing kableExtra::kable_classic for my final table shown in my website in the Customizing with KableExtra section of my vignette titled "Introduction to panelsummary", I expected my website to return a LaTeX booktabs style as it shows in the kableExtra vignette under the table name: "Recreating booktabs style table".

However, as shown, I do not get such a result—the table has undesirable lines, is not centered (which can't seem to be fixed with fig.align in the RMD file), and really doesn't look similar at all to the booktabs style I was expecting.

This topic was automatically closed after 45 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.