[Rd] S3 dispatch does not work for generics defined inside an environment
Greg Minshall
m|n@h@|| @end|ng |rom um|ch@edu
Thu Jul 1 05:55:32 CEST 2021
Taras,
> P.S. If you are wondering what I am trying to achieve here — we have a
> very large codebase and I am trying to use environments as a type of
> “poor man’s namespaces” to organize code in a modular fashion. But of
> course it’s all pointless if I can’t get the generics to work
> reliably.
i'm not knowledgeable about S3. but, a different way to try to
modularize large code bases is to split them into separate packages.
just in case you hadn't already thought about, and rejected, that idea.
cheers, Greg
More information about the R-devel
mailing list