Updating Loaded Packages loop

Hi, I am new to R Studio and was trying to run a simple piece of code that loads one of shiny's templates.

    install.packages("shiny")
      
    library(shiny)
    runExample("01_hello")

However, each time I try to run the application I get a pop up saying to Updating Loaded Packages


which says it's recommended to restart R before installing the packages. And if choose to do so, I get stuck in a loop where the same pop up occurs after the restart. However, the application works without the restart so I think it's not necessary. Is there a way to prevent this pop up or more directly choose when to restart.

I usually ignore this without problems

1 Like