tidyverse / purrr

A functional programming toolkit for R
https://purrr.tidyverse.org/
Other
1.27k stars 271 forks source link

Documentation of `reduce` refers to `map` #1103

Closed phish108 closed 3 weeks ago

phish108 commented 11 months ago

The documentation of the ... attribute refers to the map() function. It would be a bit nicer if the reference for reduce would point to reduce() instead of map() ;)

hadley commented 1 month ago

Yeah, reduce() should document ... itself, rather than inheriting the docs from map.

While looking at this, I also noticed that the documentation for .y mentions accumulate2() which should also be removed.