usethis
usethis copied to clipboard
Rename `use_tidy_style()` to `use_styler()`
Now that we have use_air() as well https://github.com/r-lib/usethis/pull/2109
Will probably require a little reorganizing of the file that use_tidy_style() lives in, and the pkgdown section it lives in
Is this what we're thinking?
use_tidy_style() becomes basically a shell that does nothing but messages about current alternatives: use_air() and (a new function) use_styler(). use_styler() gets the existing use_tidy_style() logic.
Or use_tidy_style() is removed entirely, I'm not sure, but what you suggest also sounds reasonable
I decided to just deprecate use_tidy_style() in favor of recommending use_air() or direct calls to styler.
@lorenzwalthert I just wanted to tag you here, to give a heads up that use_tidy_style() is likely being deprecated. From a GitHub search, I think the only impact on styler will be on documentation, i.e. on recommendations to call usethis::use_tidy_style(). I've opened a PR and thought you might want to keep 👀 on this issue.
Thanks @jennybc, appreciated.