Re: [Rd] methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error

2019-06-25 Thread peter dalgaard
Ah, not quite: The logic is that if something has omittedSig and "missing" is not the signature, those signatures get _set_ to missing. There's just a bit of tap-dancing around to find exactly which they are so that there can be a message about changing them. -pd > On 25 Jun 2019, at 09:44 , p

Re: [Rd] [Suggested patch] to fligner.test - constant values can produce significant results

2019-06-25 Thread Martin Maechler
> Karolis K > on Fri, 21 Jun 2019 18:00:36 +0300 writes: > In specific cases fligner.test() can produce a small p-value even when both > groups have constant variance. > Here is an illustration: > fligner.test(c(1,1,2,2), c("a","a","b","b")) > # p-value = NA

Re: [Rd] methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error

2019-06-25 Thread peter dalgaard
Argh! Yes you are right, the "fix" doesn't. And I fell into the same "hey it's a vector so && has to be wrong"-trap. So this has to be reverted to something that has at least failed unconspicuously for a decade Will do. Thanks to Martin for remaining suspicious! [This code was originally fr