rstudio/bslib

UI page functions don't know how to deal with extra commas like {shiny} does

daattali opened this issue · 4 comments

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.

AFAICT this ws described but not fixed in #956

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.

Fixed indeed!

This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue.
🙋 Need help? Connect with us on Discord or Posit Community.