Hello. I am trying to build an app using shiny dashboard and shiny packages and my code has hit a roadblock it's displaying that Error in FUN: Expected tag to have class 'tab-pane'.How can l correct this?My code is below.
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(title="Basic tabs"),
dashboardSidebar(
sidebarMenu(
menuItem("First",tabName = "first",icon = icon("dashboard")),
menuItem("Second",tabName = "second",icon = icon("th"))
)
),
dashboardBody(
tabItems(
fluidRow(
box(plotOutput("plot1, height = 250")),
box(
title = "controls",
sliderInput("slider","observations:",
min=1, max =100, value = 50)
)
),
tabItem(tabName = "first",
h2("First tab content"))
),
tabItem(tabName = "second",
h2("second tab content")
)
)
)