You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide session information? Curly-curly syntax was only added in #528 and is not yet on CRAN. Running your example with the devel version from GitHub, I get the desired result:
styler::style_text("if (drop) { data <- data %>% dplyr::select(-{{drop_var}})}")
#> if (drop) {#> data <- data %>%#> dplyr::select(-{{ drop_var }})#> }
Activity
lorenzwalthert commentedon Jul 23, 2019
Can you provide session information? Curly-curly syntax was only added in #528 and is not yet on CRAN. Running your example with the devel version from GitHub, I get the desired result:
Created on 2019-07-23 by the reprex package (v0.2.1)
Moohan commentedon Jul 23, 2019
That's the issue then! I'm running styler 1.1.1 from CRAN but if I get the dev version it seems to style as expected.