tests/testthat/token_adding_removing/mixed_token-out.R

# = replaced with <-
a <- 3
data_frame(a = 3)

# semicolon
a
b
c
d


# quotes
"text with 'quotes'"
'text with "quotes"'



# adding brackets in pipes
a %>%
  b() %>%
  c()

# adding brackets in pipes combined with line breaks
a %>%
  b() %>%
  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.