tests/testthat/line_breaks_and_other/around-eq-sub-out.R

c(x = 2)

c(
  x =
    2
)

c(
  x = 2
)

c(
  x = 2
)

c(
  x = 2,
  a =
    1
)


c(
  x = 2,
  a = # stuff
    1
)


c(
  b = 4, x # comment
  = 2
)


c(
  x = # comment
    2, c =
  )

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.