Skip to content

formatR 1.12

Choose a tag to compare

@yihui yihui released this 31 Mar 20:19
  • Added a new argument pipe to tidy_source(). If pipe = TRUE, it will convert the magrittr pipe %>% to the base R pipe operator |>.

  • Added a function tidy_rstudio() to reformat R code in the RStudio editor.

  • Added a function tidy_pipe() to substitute %>% with |> (currently works only in RStudio).