Skip to content

Rename use_tidy_style() to use_styler() #2110

Closed

Description

@DavisVaughan

Now that we have use_air() as well #2109

Will probably require a little reorganizing of the file that use_tidy_style() lives in, and the pkgdown section it lives in

Activity

  1. jennybc commented on Mar 4, 2025

    @jennybc
    Member

    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.

  2. added
    featurea feature request or enhancement
    tidy ✨tools for the tidyverse team
    on Mar 4, 2025
  3. DavisVaughan commented on Mar 4, 2025

    @DavisVaughan
    MemberAuthor

    Or use_tidy_style() is removed entirely, I'm not sure, but what you suggest also sounds reasonable

  4. jennybc commented on Jul 10, 2025

    @jennybc
    Member

    I decided to just deprecate use_tidy_style() in favor of recommending use_air() or direct calls to styler.

  5. jennybc commented on Jul 10, 2025

    @jennybc
    Member

    @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.

  6. added this to the v3.2.0 milestone on Jul 10, 2025
  7. lorenzwalthert commented on Jul 13, 2025

    @lorenzwalthert
    Contributor

    Thanks @jennybc, appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementtidy ✨tools for the tidyverse team

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions