force_assignment_eq: Force the assignment operator '=' when possible

Description Usage Examples

View source: R/rules-line-break.R

Description

Because you can't determine from a nest with <- what the context is, we need to do it from the parent.

Usage

1

Examples

1
2
3
# identical
styler:::create_tree("x <- 2")
styler:::create_tree("c(x <- 2)")

BioSisyphus/styler.unify documentation built on Dec. 17, 2021, 10:55 a.m.