-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
This PR #876 supposedly fixes the issue of styler
putting additional, unnecessary brackets inside substitute expressions. But having installed the latest version of styler from main, I am still experiencing the issue described in #873
Here is my reprex:
library(magrittr)
expr <- substitute(
expr = {
iris %>%
exprA %>%
exprB
},
env = list(exprA = call("summary"), exprB = call("print"))
)
Styler styles it to:
library(magrittr)
expr <- substitute(
expr = {
iris %>%
exprA() %>%
exprB()
},
env = list(exprA = call("summary"), exprB = call("print"))
)
Polkas