count_indent_lines: Count how much each line should be indented

Description Usage Arguments Value See Also

View source: R/code_formatting.R

Description

Count how much each line should be indented

Usage

1

Arguments

lines

array of code lines

curly

is indention done based on curly brackets?

Value

an integer array with same length as lines

See Also

Other code formatting helper functions: apply_indent(), justify_line()


jtimonen/stanbreaker documentation built on Jan. 20, 2021, 12:34 a.m.