Styles the source code of a package, project or directory according to the tidyverse style guide with the package styler.
use_tidy_style(strict = TRUE)
Boolean indicating whether or not a strict version of styling
should be applied. See styler::tidyverse_style()
for details.
Invisibly returns a data frame that indicates for each file considered for styling whether or not it was actually changed.
This function overwrites files (if styling results in a change of the code to be formatted). It is strongly suggested to only style files that are under version control or to create a backup copy.