Come and go.
Currently I can only write a reactive function that generates me a complete tabsetPanels based on different conditions. This becomes very unpractical at some level of complexity.
I think a simple approach for a future version would be to make conditionalPanel(s) valid to wrap around tabPanels within a tabsetPanel like:
tabsetPanel(
tabPanel("Summary All", uiOutput("somestuff_all")),
conditionalPanel(condition = "input.cond_a.",
tabPanel("Summary A", uiOutput("somestuff_a"))
),
conditionalPanel(condition = "input.cond_b.",
tabPanel("Summary B", uiOutput("somestuff_b"))
)
)