# tidyverse/purrr

A functional programming toolkit for R

Repository: https://github.com/tidyverse/purrr
Canonical: https://ross.abutalabs.com/products/purrr
Homepage: https://purrr.tidyverse.org/
Language: R
License: NOASSERTION
License Family: other
Topics: r, functional-programming
Last push: 2026-07-22T18:58:16+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 55, longevity 100
- inputs: {"age_days": 4295, "days_push": 42, "days_rel": 143, "gap_med": 104.0, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1401, forks 294 (observed 2026-08-28T04:04:37.320735+00:00)

## What it is
purrr is an R package that enhances R's functional programming toolkit with a complete, consistent set of tools for working with functions and vectors. Its family of map() functions lets users replace for loops with succinct, type-stable, pipe-friendly iteration code.

## Use cases
- replace for loops with map functions in R
- fit models to each group of a split data frame
- iterate over lists and vectors with type-stable output
- extract components from lists by name or position
- track progress of long-running map jobs
- parallelize map computations across cores or machines

## When to choose
- you write R and want cleaner iteration than for loops or apply functions
- you need type-stable map variants like map_dbl() or map_chr()
- you want pipe-friendly functional programming within the tidyverse
- you need easy progress tracking or parallel execution for map operations

## When to avoid
- you work outside R
- you prefer base R apply-family functions or avoid tidyverse dependencies
- you need high-performance big-data parallelism beyond simple multicore mapping

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, data-science, concurrency
- domain: data-science, programming-languages, developer-tools
- platform: python
- tags: r, functional-programming, tidyverse, map-functions, iteration, type-stable

## Member repositories
- tidyverse/purrr (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:37.320735+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:04.249261+00:00, confidence not recorded.
  - readme: https://github.com/tidyverse/purrr (fetched 2026-08-28T04:04:37.320735+00:00, sha c8b98424900d)
  - homepage: https://purrr.tidyverse.org/ (fetched 2026-08-29T11:53:10.236219+00:00, sha a4c4f46b1573)
  - site_page: https://purrr.tidyverse.org/news/index.html (fetched 2026-08-29T11:53:10.239460+00:00, sha 254613c0f19f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
