tests/testthat/indention_curly_brackets/multi_line_curly_round_only-in.R

a <- function(x) {
x <- c(1,
       2 + 3,
sin(pi))

if(x > 10) {
    return("done")
                }
        }

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.