tabsetPanel error - rstudio upgrade

Hi All,

I have an error that with tabsetPanels after upgrading rstudio to the latest version:

Error in shiny::NS(id) : argument "id" is missing, with no default

This is even the case with no modules in the app.

I'm running R version 3.4.4. Shiny version is, built on R 3.4.4

If I re-install shiny it works, but only until another app is run, the the error re-appears. Any advice would be awesome, thank you.

A reproducible example using Old Faithful Geyser example app is below:


# Define UI for application that draws a histogram
ui <- fluidPage(

    # Application title
    titlePanel("Old Faithful Geyser Data"),

    # Sidebar with a slider input for number of bins 
                        "Number of bins:",
                        min = 1,
                        max = 50,
                        value = 30)

        # Show a plot of the generated distribution

# Define server logic required to draw a histogram
server <- function(input, output) {

    output$distPlot <- renderPlot({
        # generate bins based on input$bins from ui.R
        x    <- faithful[, 2]
        bins <- seq(min(x), max(x), length.out = input$bins + 1)

        # draw the histogram with the specified number of bins
        hist(x, breaks = bins, col = 'darkgray', border = 'white')

# Run the application 
shinyApp(ui = ui, server = server)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.