Skip to content

Begin deprecation process for use_pipe() #2124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jennybc opened this issue Apr 23, 2025 · 1 comment
Open

Begin deprecation process for use_pipe() #2124

jennybc opened this issue Apr 23, 2025 · 1 comment
Labels
code 🖥️ R/, tests/ tidy-dev-day 🤓 Tidyverse Developer Day

Comments

@jennybc
Copy link
Member

jennybc commented Apr 23, 2025

The base pipe |> has been around long enough now that usethis should probably not facilitate and implicitly endorse the moves in use_pipe().

@jennybc jennybc added code 🖥️ R/, tests/ tidy-dev-day 🤓 Tidyverse Developer Day labels Apr 23, 2025
@jennybc
Copy link
Member Author

jennybc commented Apr 23, 2025

Blueprint for deprecating a function: https://lifecycle.r-lib.org/articles/communicate.html

jennybc added a commit that referenced this issue Apr 23, 2025
Opened #2124 to deprecate `use_pipe()`, which is a separate matter
jennybc added a commit that referenced this issue Apr 24, 2025
* use_tidy_upkeep_issue(2025)

* use_air()

* Format the whole package with air

Or, at least, the `.R` files, I guess?

I used the air binary that's inside the extension, like so:

/Users/jenny/.positron/extensions/posit.air-vscode-0.10.0-darwin-arm64/bundled/bin/air format .

* use_package("R", "Depends", "4.1")

* Remove usage of %>%

Opened #2124 to deprecate `use_pipe()`, which is a separate matter

* Add ROR for Posit

* knitr::convert_chunk_header(type = "yaml", output = identity, "vignettes/articles/SOMETHING.Rmd")

* use_mit_license()

* use_tidy_github_actions()

* use_tidy_description()

* Inform air to ignore .R files that are whisker templates

* Use current recommendations around testing errors

* Use the base R anonymous function syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code 🖥️ R/, tests/ tidy-dev-day 🤓 Tidyverse Developer Day
Projects
None yet
Development

No branches or pull requests

1 participant