kableExtra
kableExtra copied to clipboard
Construct Complex Table with knitr::kable() + pipe.
Because there's two different functions linebreak and linebreak_html, should these be put into kable_styling? If someone wants to generate both html and latex outputs, then they have to manually change...
It is possible to add rendering images in cell? For example I put in cell string like "" and in table I get this image. Workaround for Latex is here...
**Describe the bug** The collapse_rows can no longer be applied to columns in version 1.4.0. In previous versions this worked without any problems. **To Reproduce** ``` library(knitr) library(kableExtra) df %...
**Describe the bug** Since upgrading 1.4 we've seen our HTML tables ignoring the `escape` parameter. To fix this we need to explicitly add `format = 'html' ` **To Reproduce** ```...
I'm trying to create a relatively complex table with kable in rmarkdown, where I need to `pack_rows()` with `collapse_rows()` and `add_header_above()`. When I use `pack_rows()`, kable creates an indentation in...
**Describe the bug** `collapse_rows` does not collapse rows if the column name is set to empty string (via `col.names` in `kable()`). This used to work in
## 我的代码 ```` --- title: "测试案例" date: "2024-06-04" output: html_document --- ```{r} library(kableExtra) df = data.frame( 姓名 = c("张三", "李四"), 工资 = c(8000, 7500) ) df %>% kable() %>% kable_styling(font_size...
**Description** The output of the function `save_kable()` of package versions **1.3.4** and **1.4.0**, differs. More specifically, the function `save_kable()` of package version **1.3.4** works as expected. It extracts the *HTML*...
Example: x = data.frame(x=c('30')) library(kableExtra) kbl(x,escape = F) %>% kable_styling() The result will make
**Describe the bug** As of this writing, `kable %>% row_spec(row = 0, ...)` modifies the header of the table, but if the header has multiple rows (via `add_header_above()`), the changes...