More #rstats #s7 dispatch woes. Trying to write an S3 method for a S7 class which operates on an attribute which is an array, and also on an array directly. Can't use a S7 method because S7 doesn't have class_array(). Can't use the S3 method because I'm trying to follow best practice and export the class as package::class. Minrep on this stackoverflow post: https://stackoverflow.com/questions/78989779/specifying-name-of-s3-method-on-s7-class-when-s7-class-is-exported-as-packagenam
Can anyone help?
Specifying name of S3 method on S7 class when S7 class is exported as packagename::class
This should be tagged r-S7 but I don't have enough reputation to create it. I am writing a package in {S7} and wish to follow the recommendation that classes exported from the package are exported ...