tests/testthat/_snaps/generic-spec.md

can standardise generics

Code
  as_generic(function() { })
Condition
  Error:
  ! `generic` is a function, but not an S3 generic function: 
  function () 
  {
  }
Code
  as_generic(1)
Condition
  Error:
  ! `generic` must be a function, not a <double>


Try the S7 package in your browser

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

S7 documentation built on April 3, 2025, 10:50 p.m.