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

can register S7 method for S4 generic

Class has not been registered with S4; please call S4_register(S4foo).

errors when unregistering from an S4 generic

Code
  method(removeS4, S4foo) <- NULL
Condition
  Error in `method<-`:
  ! Can't unregister methods for S4 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.