Description Usage Arguments Value See Also
View source: R/code_formatting.R
Count how much each line should be indented
1 | count_indent_lines(lines, curly)
|
lines |
array of code lines |
curly |
is indention done based on curly brackets? |
an integer array with same length as lines
Other code formatting helper functions:
apply_indent()
,
justify_line()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.