You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(S7)
an_s3_generic<-function(x) UseMethod("an_s3_generic")
method(an_s3_generic, S7::class_character) <-function(x) "foo"#> Error: When registering methods for S3 generic an_s3_generic(), signature must be an S7 class, not a base type.
It would be nice if this worked and method<- was truly a single interface for registering any kind of method.
The text was updated successfully, but these errors were encountered:
Currently, this raises an error:
It would be nice if this worked and
method<-
was truly a single interface for registering any kind of method.The text was updated successfully, but these errors were encountered: