title: How to use R package "formattable" in shiny dashboard?
body: <p>Below is the code I have written. I am not able to use <a href="https://github.com/renkun-ken/formattable" rel="noreferrer"><code>formattable</code></a> in my shiny. <code>formattable</code> helps in formatting the tables and improves the visualization also.</p>
  
  <pre><code>library("shinydashboard")
  library("shiny")
  library("formattable")
  
  body &lt;- dashboardBody(
    fluidRow(
      column(width = 12,
             box(tableOutput(formattable(test.table, list())))
             )
      )
    )
  
  ui &lt;- dashboardPage(
    dashboardHeader(title = "Column layout"),
    dashboardSidebar(),
    body
  )
  
  server &lt;- function(input, output) {
  
    test.table &lt;- data.frame(lapply(1:8, function(x) {1:10}))
  
      output$table &lt;- renderTable({test.table})
  }
  shinyApp(ui = ui, server = server)
  </code></pre>