Skip to content

Deprecate use_pipe(). Fixes #2124#2183

Merged
jennybc merged 7 commits intor-lib:mainfrom
math-mcshane:deprecate-use-pipe-2
Feb 3, 2026
Merged

Deprecate use_pipe(). Fixes #2124#2183
jennybc merged 7 commits intor-lib:mainfrom
math-mcshane:deprecate-use-pipe-2

Conversation

@math-mcshane
Copy link
Contributor

Completed:

  • Added a short deprecation message when using use_pipe(),
  • Added a longer bit of advice in the package documentation for common substitutions, including the 2023 blog post on the base pipe.
  • Added r lifecycle::badge("deprecated") and @keywords internal
  • Added withr::local_options(lifecycle_verbosity = "quiet") to three old tests
  • Added new snapshot test
  • Bug fixed from my earlier PR Deprecate use_pipe(). Fixes #2124 #2181 , which added changes to the usethis package rather than a temporary package. This blog post on create_local_package was helpful!

Submitting as part of tidy dev day 2025 (my first!).

@hadley hadley requested a review from jennybc February 2, 2026 20:01
@jennybc
Copy link
Member

jennybc commented Feb 3, 2026

Thanks!

@jennybc jennybc merged commit c24165d into r-lib:main Feb 3, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants