stopApp: Stop the currently running Shiny app

View source: R/runapp.R

stopAppR Documentation

Stop the currently running Shiny app

Description

Stops the currently running Shiny app, returning control to the caller of runApp(). Despite the similar names, stopApp() is not the counterpart of startApp() — it is the counterpart of runApp(), controlling its return value via returnValue.

Usage

stopApp(returnValue = invisible())

Arguments

returnValue

The value that should be returned from runApp().


shiny documentation built on June 21, 2026, 5:07 p.m.