tests/testthat/line_breaks_fun_call/token_dependent_mixed-in.R

call(call(call3(), call,
      4433,
        55))

call(call(call3(), call,
    4433,
          55
))
call(call(call3(), call,
             4433,
          55)
)



# no more barcket on same line ->
call(call(
  3, 4
))


call(3    ,
     3
)


call(call(call3(), call,
    44,
    55
))

#

call(call,call(),
     3,
     4
)

call(call(
   3   , 4
))

call(call(1,
      3
))

# if a multiline expression follows -> don't indent


  call(
2
  )
cjaldfjadf(1,
           3)

jclakjdscs(  call(call(2  ,
               4)))
  fjadlksfj(casl(),
      1)


test_that("hi", {
"there"
  })

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.