[R-pkg-devel] S3 generic/method consistency NOTE
Zhian Kamvar
zk@mv@r @end|ng |rom gm@||@com
Thu Feb 6 04:52:57 CET 2025
I'm getting this warning in an old package and im not quite sure how to fix
it. I've always understood the is.thing sort of functions as always taking
a single argument, which is usually "x"
Do I have to update the is.genind etc signature to take two arguments?
Note below
Check: S3 generic/method consistency, Result: NOTE
Mismatches for methods registered for non-generic:
is:
function(object, class2)
is.genind:
function(x)
is:
function(object, class2)
is.genpop:
function(x)
sample:
function(x, size, replace, prob)
sample.haploGen:
function(x, n)
See section 'Registering S3 methods' in the 'Writing R Extensions'
manual.
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list