tests/testthat/insertion_comment_interaction/just_if_strict-out.R

if (TRUE) NULL

if (TRUE) NULL # comment


if (TRUE) { # comment
  NULL
}

if (TRUE # comment
) {
  NULL
}

if ( # comment
  TRUE) {
  NULL
}

if # comment
(TRUE) {
  NULL
}

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.