tests/testthat/_snaps/adverb-compose.md

composed function prints informatively

Code
  # Single input
  compose(fn1)
Output
  <composed>
  1. function(x) x + 1
Code
  # Multiple inputs
  compose(fn1, fn2)
Output
  <composed>
  1. function(x) x / 1

  2. function(x) x + 1


Try the purrr package in your browser

Any scripts or data that you put into this service are public.

purrr documentation built on April 3, 2025, 6:13 p.m.