UI page functions don't know how to deal with extra commas like {shiny} does
daattali opened this issue · 4 comments
daattali commented
In the olden days, shiny apps would break if there was any extra comma in the UI. This was fixed a few years ago and now the following app works:
library(shiny)
ui <- fluidPage(
"foo",
)
server <- function(input, output, session) {}
shinyApp(ui, server)
But when I try the same using {bslib}, I get an error:
library(shiny)
ui <- bslib::page_fluid(
"foo",
)
server <- function(input, output, session) {}
shinyApp(ui, server)
Error in `dots_list()`:
! Argument 3 can't be empty.
gadenbuie commented
I just fixed this in #1095. It made it into the 0.8.0 release that landed on CRAN this week. Let us know if you're still seeing the issue after updating.
daattali commented
Fixed indeed!