What is a good way to change a Shiny app title? In the example app below I have a radioButtons input and I'd like the app title ("Project Title") to change given the radio selection.
library(shiny)
ui <- navbarPage("Project Title",
tabPanel(title = "Tab 1",
radioButtons("title_change", label = "Change title of App", choices = c("Title 1", "Title 2"))
)
)
server <- function(input, output) {
}
shinyApp(ui = ui, server = server)