tests/testthat/indention_operators/pipe_and_assignment_and_comment-out.R

a <- #
  b() %>%
  c() %>%
  d()

a <- #
  b() %>%
  c() %>%
  d()


a <-
  b() %>%
  c() %>%
  d()

a <- c %>%
  b() %>%
  c() %>%
  d()

a <-
  b() %>% #
  c() %>%
  d() # d

Try the styler package in your browser

Any scripts or data that you put into this service are public.

styler documentation built on Aug. 29, 2023, 5:10 p.m.