if (FALSE) {
# save after styling when using the Addin
options(styler.save_after_styling = TRUE)
# only style with scope = "spaces" when using the Addin
val <- "styler::tidyverse_style(scope = 'spaces')"
options(
styler.addins_style_transformer = val
)
}
Run the code above in your browser using DataLab