reindent_Shiny {prettifyAddins} | R Documentation |
Reindent code using Shiny
Description
Reindent some code using a Shiny app.
Usage
reindent_Shiny(contents = NA, language = NA, tabSize = NULL, themeInfo = NULL)
Arguments
contents |
the code to be reindented; there are three possibilities for
this argument:
|
language |
the language of the code, such as |
tabSize |
number of spaces of the indentation (usually |
themeInfo |
this argument is not important, it controls the theme of
the Shiny app;
it must be |
Value
The reindented code in a character string.