tests/testthat/_snaps/method-register-S3.md

rejects class_missing on S3 generics

Code
  method(s3_gen, class_missing) <- (function(x) "missing")
Condition
  Error:
  ! `class_missing` not supported for non-operator S3 generics.

errors when unregistering from an S3 generic

Code
  method(sum, foo) <- NULL
Condition
  Error in `method<-`:
  ! Can't unregister methods for S3 generics
Code
  method(base_sum, foo) <- NULL
Condition
  Error in `method<-`:
  ! Can't unregister methods for S3 generics


Try the S7 package in your browser

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

S7 documentation built on Nov. 19, 2026, 9:06 a.m.