R DT 剪辑 table 选择按钮(当文本添加到正文时)

R DT clips table selection buttons (when text is added to body)

实际行为 - 剪辑

我正在使用带有 flexdashboard 的 R DT 包。当我向 DT table 的正文添加文本时,仪表板的底部被剪裁(不同程度)。见下文。

---
title: "With text in the body the bottom is clipped"
output: flexdashboard::flex_dashboard
---

Notice at the bottom that "Showing X entries" and "Previous/Next" are both clipped

```{r}
library(DT)
datatable(mtcars)
```

预期行为 - 无剪辑

如果我从 table 正文中删除文本,一切都会按预期运行。但我想要我的正文¯_(ツ)_/¯。怎么办?

这是我应该报告的错误,还是有其他我不知道的解决方案?

---
title: "Without text in the body nothing is clipped"
output: flexdashboard::flex_dashboard
---

```{r}
library(DT)
datatable(mtcars)
```

版本信息:

other attached packages:
[1] DT_0.16             flexdashboard_0.5.2

used this link for intel 只需在图表中添加 ###,有助于使 table 与 Flexdashboard 边距

对齐
---
title: "With text in the body the bottom is     clipped"
output: flexdashboard::flex_dashboard
---

Notice at the bottom that "Showing X entries" and     "Previous/Next" are both clipped

###
```{r }
library(DT)
datatable(mtcars)
```