Hello,
I am having trouble with this error when I run the app:
Error in sidebarLayout(sidebarPanel) :
argument "mainPanel" is missing, with no default.
Code as below:
library(shiny)
ui <- fluidPage(
sidebarLayout(
sidebarPanel))
mainPanel(
tabsetPanel(type = "tab",
tabPanel("Help", tags$img(src = "Mclaren.jpg")))
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
Can anyone assist with this?
All I am trying to do is create a tab with an image on it.