tests/testthat/_snaps/standalone-s3-register.md

can register for generics that don't exist

Code
  (expect_warning(s3_register("testthat::foobarbaz", "class", method = function(
    ...) NULL)))
Output
  <warning/rlang_warning>
  Warning:
  Can't find generic `foobarbaz` in package testthat to register S3 method.
  i This message is only shown to developers using devtools.
  i Do you need to update testthat to the latest version?


Try the rlang package in your browser

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

rlang documentation built on Nov. 4, 2023, 9:06 a.m.