r-lib/usethis

`use_tidy_base_pipe()`

hadley opened this issue · 1 comments

Wrap up the code we used in purrr to make it easy for other packages to use the base pipe in examples.

A stretch goal would be to also figure out the regexp to replace %>% with |> inside roxygen comments and vignettes.

I'm putting the tidyverse dev day label on this, not because I think it can be settled in one day. Rather, this would be a research project. Some TODOs to get thing started:

  • Gather links to the relevant purrr PR(s).
  • Study the purrr example and enumerate the main "moves" that are necessary.
  • (Maybe?) create a draft PR that starts to chip away at the problem.