We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just bumped into this, the following code (from ?renderMenu) generate and error Warning: Error in renderUI: object 'expr' not found
?renderMenu
library(shiny) library(bs4Dash) ui <- dashboardPage( dashboardHeader(title = "Dynamic sidebar"), dashboardSidebar( sidebarMenuOutput("menu") ), dashboardBody() ) server <- function(input, output) { output$menu <- renderMenu({ sidebarMenu( menuItem("Menu item", icon = icon("calendar")) ) }) } shinyApp(ui, server)
The text was updated successfully, but these errors were encountered:
In the meantime, try this, which contains the missing piece of code causing the issue:
renderMenu <- function(expr, env = parent.frame(), quoted = FALSE, outputArgs = list()) { if (!quoted) { expr <- substitute(expr) quoted <- TRUE } shiny::renderUI(expr, env = env, quoted = quoted, outputArgs = outputArgs) }
Sorry, something went wrong.
Fixed in CRAN 2.1.0
No branches or pull requests
Just bumped into this, the following code (from
?renderMenu
) generate and errorWarning: Error in renderUI: object 'expr' not found
The text was updated successfully, but these errors were encountered: