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]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to