Stops the currently running Shiny app, returning control to the caller of runApp().
runApp()
stopApp(returnValue = invisible())
returnValue
The value that should be returned from runApp().