matthieugomez / statar

R package for data manipulation — inspired by Stata's API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sum_up and rmarkdown

bjornerstedt opened this issue · comments

The sum_up function almost works with knitr::kable, when rendering html or word documents in rmarkdown. It also prints the text table, however. This code produces a better table than the fixed font output:

iris %>% sum_up %>% kable

Rendering LaTeX does not work at all.

The issue is that knitr renders both a fixed font text table and a markdown table, when knitting to html or word.