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/S3 documentation built on Nov. 4, 2023, 1:27 a.m.