Why do you even need to take over `plot`, `plot.default`? You can just
register/export the plot.data.frame method from our package without
touching the generic or default method. The part of WRE that you refer to
is about making functions that are *not* S3 methods in one of base R or
it's packages
I'd recommend creating a minimal package that illustrates the problem
using an existing S4 generic in a base package (e.g. stats4::AIC).
That makes it easier to figure out what's gone wrong.
It's unlikely to be a roxygen2 problem since the translation from
@importFrom foo bar (etc) to importFrom(f
Dear all,
CRAN policies do not allow that single methods (for generic functions)
which are defined in base or recommended packages are replaced. They
advice package authors to replace the standard generic and use a
xxx.default method which then calls the original standard generic.
Using the