IIUC, loading a namespace automatically registers all the exported
methods as long as the generic can be found when the namespace gets
loaded.  Generics can be exported and imported as regular functions.

In that case, code in a package should be able to simply import the
generic and the methods will automatically work correctly without any
need for importMethodsFrom.

Is there something that I'm missing here?  What breaks if you don't
explicitly import methods?

Thanks,

Karl

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to