Keep getting the following warning message after deploying my app:
It seems like the shinydashboard package is failing for unknown reasons. With this error, all the menuItems are listed horizontally across the entire page. Please help!
library(shinydashboard)
library(leaflet.extras2)
library(shiny)
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)