

purrr
A functional programming toolkit for R
purrr provides a complete and consistent toolkit for functional programming in R, focused primarily on the map() family of functions that allow you to apply operations across vectors and lists. It enables you to replace for loops with more concise and readable code.
The package offers several advantages over base R: it works naturally with the pipe operator, guarantees type-stable outputs (each function returns a predictable type or throws an error), and supports flexible function specifications using named functions, anonymous functions, lambda syntax, or shortcuts for extracting elements by name or position. It also includes built-in progress tracking for long-running operations and parallel computation support.
Contributors

Hadley Wickham
Chief Scientific Officer

Lionel Henry
Senior Software Engineer

Charlie Gao
Senior Software Engineer

Davis Vaughan
Principal Software Engineer

Jenny Bryan
Senior Software Engineer

Christophe Dervieux
Senior Software Engineer

Gábor Csárdi
Senior Software Engineer

Tomasz Kalinowski
Engineering Manager

Neal Richardson

Mine Çetinkaya-Rundel
Senior Developer Advocate

Jeroen Janssens
Head of Developer Relations

