formatR 1.12
-
Added a new argument
pipe
totidy_source()
. Ifpipe = 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).