tests/testthat/_snaps/dispatch.md

has nice output

Code
  s3_dispatch(Sys.Date() + 1)
Output
  => +.Date
     +.default
   * Ops.Date
     Ops.default
   * + (internal)
Code
  s3_dispatch(Sys.Date() * 1)
Output
     *.Date
     *.default
  => Ops.Date
     Ops.default
  -> * (internal)


hadley/sloop documentation built on Nov. 3, 2023, 9:21 a.m.