Skip to content
Prev 7259 / 21312 Next

[Bioc-devel] issue about S4 slot has a dist object.

Hi,

In the same way that we avoid having 2 packages define the same
S4 generic function by moving the shared generic definitions to
BiocGenerics, it seems that we should also avoid having 2 packages
call setOldClass on the same S3 class. Like with S4 generic functions,
we've already started to do this by putting some setOldClass
statements in BiocGenerics (e.g. we've done it for the 'connection'
classes 'file', 'url', 'gzfile', 'bzfile', etc..., see class?gzfile).
So if nobody objects we'll do this for the 'dist' class too.

Then you won't need to use setOldClass in your cogena package Zhilong.
You'll just need to make sure that you import BiocGenerics.

Cheers,
H.
On 04/01/2015 03:28 PM, Michael Lawrence wrote: