R shiny dashboard, markdown knitr :: kable network lines disappeared after upgrade

I have an R shiny dashboard application in which I process an R Markdown document (it uses the knitr :: kable function to print a data table) and include the resulting application using includeHTML in server.R and displaying it using uiOutput in ui. R

Recently updated packages to (knitr: 1.12.3; shiny panel: 0.5.1)

Now the displayed table in shinydashboard output has no grid lines, I'm not sure what caused it - any ideas?

Here is the relevant piece of code from the .R server:

output$sae_text<-renderUI({ req(input$sae_userids) render('myrmd.Rmd',output_dir=".",output_file="temp.html",params=list(subject=input$sae_userids)) includeHTML("temp.html") }) 

Here is the relevant piece of code from myrmd.Rmd:

  ```{r, results='asis',echo=FALSE} knitr::kable(ex4)} ``` 

Here is the relevant piece of code from ui.R:

  tabItem(tabName="SAE", fluidRow(box(width=12,uiOutput("sae_text"))), ), 
+5
source share
1 answer

I found a problem with the latest rmarkdown 0.9.5 package. When I replaced this package with an earlier version 0.8.1, then grid lines began to appear. It has been reported that the Rstudio support team.

0
source

Source: https://habr.com/ru/post/1245794/


All Articles