hi all, I have rmd files that generates automatic mail to mu inbox. When I run the Kable.rmd file , the output is proper, but when in my mail box, the table is not proper. Like there are no borders etc.. Not sure why. Can anyone help me
kable.Rmd
---
title: "Untitled"
runtime: shiny
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
---
```{r setup, include=FALSE}
library(flexdashboard)
library(knitr)
library(kableExtra)
```
Column {data-width=650}
-----------------------------------------------------------------------
### Chart A
```{r}
dt <- mtcars[1:5, 1:6]
kable(dt) %>%
kable_styling(c("striped", "bordered"))
```
mail.RMD
---
title: "Email Document"
output: blastula::blastula_email
---
```{r email_setup, include=FALSE}
library(blastula)
library(mime)
library(magrittr)
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
```{r Report, echo=FALSE, message=FALSE, warning=FALSE, include=FALSE, paged.print=FALSE}
date_time <- add_readable_time()
email <- render_email('kable.Rmd')
email %>%
smtp_send(
from = "XXXX.com",
to = c("XXXX.com"),
subject = paste0("Hi",Sys.Date()),
credentials = creds_anonymous(host = "xxx.com",port=XX, use_ssl = FALSE)
)
```