This function calls tidy_source() to format R code in a Shiny app. The arguments of tidy_source() are presented in the app as input widgets such as checkboxes.

tidy_app()

Examples

if (interactive()) formatR::tidy_app()