-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.S3 doesn't work correctly if class contains a dot (".") #86
Comments
Thanks for the report. This clearly has to do with how R resolves ambiguous (more than one period) names into |
Ah, I was wondering why the I will research it and fix it. But note that there might be no way to distinguish between the hypothetical cases mentioned in #65 (comment)
|
I was able to find a bug in my original implementation. Note that we are still assuming that the generics doesn't have a dot in name. This is probably a reasonable assumption for new user-generated generics, but some historical generics might suffer. Users can always identify and register these issues manually. |
Awesome, thanks for the fix, we should see this on CRAN within a day or two, se the PR (#87) for detail. |
Hello there and thanks for an awesome package!
I stumbled upon the fact that
import(..., .S3 = TRUE)
doesn't handle S3 methods for classes likedata.frame
. Apparently, the class doesn't get processed completely which is even hinted at with a warning.Short example:
but doesn't work when imported:
The feature is labeled as experimental and the above isn't difficult to circumvent, but I suppose the behaviour isn't intentional.
Once again, thanks for all the work :)
The text was updated successfully, but these errors were encountered: