-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
Formattable-rendering is not working in shiny when using promises.
library(shiny)
library(formattable)
library(promises)
library(future)
ui <- fluidPage(
formattableOutput("table")
)
server <- function(input, output, session) {
output$table <- renderFormattable({
future({mtcars}) %...>% formattable()
})
}
shinyApp(ui, server)
This minimal example gives the error:
no applicable method for 'as.htmlwidget' applied to an object of class "promise"
which seems to missing handling of how to convert a future-formattable into a html-widget in the renderFormattable
-function.
ComeMaes
Metadata
Metadata
Assignees
Labels
No labels