I need to create a panels inside a tabset in shiny using map functions .
The output that I need is one tabsetPanels with 3 tab panels This is the app:
library(shiny)
ui <- fluidPage(
  tabsetPanel('one',
              map(1:3,
                 ~ tabPanel(paste0("panel_",.x))
                  )
              )
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
What am I doing wrong?
 
    