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

find_line_break_position_in_multiline_call

Find index of the token before which the line should be broken


Description

Given a multi-line function call parse table, this function finds the position of the first named argument and breaks returns the index of it. If there is no named argument, the line is broken right after the opening parenthesis.

Usage

find_line_break_position_in_multiline_call(pd)

Arguments

pd

A parse table.


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.