R: Wrap an expression in curly braces

wrap_expr_in_curly {styler} | R Documentation

## Wrap an expression in curly braces

### Description

Adds curly braces to an expression (represented as a parse table) if there are none.

### Usage

    wrap_expr_in_curly(pd, stretch_out = c(FALSE, FALSE))

### Arguments

`pd` | A parse table.
`stretch_out` | Whether or not to create a line break after the opening curly brace and before the closing curly brace.

[Package styler version 1.0.2 Index]