start_app {cli} | R Documentation |
Start, stop, query the default cli application
Description
start_app
creates an app, and places it on the top of the app stack.
Usage
start_app(
theme = getOption("cli.theme"),
output = c("auto", "message", "stdout", "stderr"),
.auto_close = TRUE,
.envir = parent.frame()
)
stop_app(app = NULL)
default_app()
Arguments
theme |
Theme to use. |
output |
How to print the output. |
.auto_close |
Whether to stop the app, when the calling frame is destroyed. |
.envir |
The environment to use, instead of the calling frame, to trigger the stop of the app. |
app |
App to stop. If |
Details
stop_app
removes the top app, or multiple apps from the app stack.
default_app
returns the default app, the one on the top of the stack.
Value
start_app
returns the new app, default_app
returns the default app.
stop_app
does not return anything.
[Package cli version 3.6.3 Index]