Dear R-developers,

in a new package, I'm currently working on, I tried to add a new method to 
function "t.test". The new class, on which the method is based, is called 
"speclib", so I defined the funcion for the new method as "t.test.speclib".

R CMD check now gives always a warning, that S3 methods are not consistent, 
because R does not recognize that the basic function name is "t.test" instead 
of "t":

t:
  function(x)
t.test.speclib:
  function(x, y, paired, ...)


Is there any workaround or do I have to rename the t.test.speclib function to 
something like t_test.speclib?

Thank you in advance

Lukas
        [[alternative HTML version deleted]]

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

Reply via email to