tests/testthat/line_breaks_and_other/edge_comment_and_curly-out.R

a <- function(x) # this is a comment and the bracket below should not be moved one line up after the comment.
{
  x
}

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.