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 Aug. 10, 2023, 9:08 a.m.