Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_line_break_if_call_is_multi_line

Set line break for multi-line function calls


Description

Set line break for multi-line function calls

Usage

set_line_break_before_closing_call(pd, except_token_before)

remove_line_break_in_fun_call(pd, strict)

Arguments

pd

A parse table.

except_token_before

A character vector with text before "')'" that do not cause a line break before "')'".

except_token_after

A character vector with tokens after "'('" that do not cause a line break after "'('".

except_text_before

A character vector with text before "'('" that do not cause a line break after "'('".

force_text_before

A character vector with text before "'('" that forces a line break after every argument in the call.

Functions

  • set_line_break_before_closing_call: Sets line break before closing parenthesis.


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.