Description Usage Arguments Examples
Style code according to the putyourstyleguidehere style guide. For more
details and docs, see the styler::tidyverse_style()
.
1 2 3 4 5 6 7 8 | putyourstyleguidehere_style(
scope = "tokens",
strict = TRUE,
indent_by = 2,
start_comments_with_one_space = FALSE,
reindention = tidyverse_reindention(),
math_token_spacing = tidyverse_math_token_spacing()
)
|
scope |
The extent of manipulation. Can range from "none" (least
invasive) to "tokens" (most invasive). See 'Details'. This argument is a
string or a vector of class |
strict |
A logical value indicating whether a set of strict
or not so strict transformer functions should be returned. Compare the
functions returned with or without |
indent_by |
How many spaces of indention should be inserted after operators such as '('. |
start_comments_with_one_space |
Whether or not comments should start
with only one space (see |
reindention |
A list of parameters for regex re-indention, most
conveniently constructed using |
math_token_spacing |
A list of parameters that define spacing around
math token, conveniently constructed using |
1 | style_text("call( 1)", scope = "spaces")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.