Stops the currently running Shiny app, returning control to the caller of runApp().

stopApp(returnValue = invisible())

Arguments

returnValue

The value that should be returned from runApp().