[Bioc-devel] Deprecated a contained class

Martin Morgan mtmorg@n@b|oc @end|ng |rom gm@||@com
Fri Jun 26 17:10:52 CEST 2020


Pkg A provides a (virtual) class "Original".

Pkg B creates a derived class setClass("Derived", contains = "Original")

Pkg A would like to deprecate "Original" and replace with "New".

Any ideas on how to implement a deprecation message so that the Pkg B maintainer knows that their use of class Original is deprecated, but users aren't bothered by more-or-less incomprehensible messages on use? I guess using .Deprecated() somehow associated with setClass(); implementing something in initialize,Original-method would be too irritating to the user.

Thanks,

Martin



More information about the Bioc-devel mailing list