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

alignment_ensure_no_closing_brace

Ensure the closing brace of the call is removed


Description

Must be after dropping comments because the closing brace is only guaranteed to be the last token in that case.

Usage

alignment_ensure_no_closing_brace(pd_by_line, last_line_droped_early)

Arguments

pd_by_line

A list, each element corresponding to a potentially incomplete parse table that represents all token from one line.


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.