From dsterling at abac.com  Sat Jul  7 23:44:36 2007
From: dsterling at abac.com (dsterling at abac.com)
Date: Sat,  7 Jul 2007 23:44:36 +0200 (CEST)
Subject: [Rd] Minor bug in lillie.test from nortest package (PR#9784)
Message-ID: <20070707214436.1583E48CF8@slim.kubism.ku.dk>

Full_Name: David Sterling
Version: 2.4.0
OS: OS X
Submission from: (NULL) (64.81.102.199)


lillie.test() dies without grace producing the error message: 'Error in if
(pvalue > 0.1) { : missing value where TRUE/FALSE needed' when passed a vector
of identical values.

Examples:
> lillie.test(c(0,0,0,0,0,0,0,0,0,0))
Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE needed
> lillie.test(c(1,1,1,1,1,1,1,1,1,1))
Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE needed
> lillie.test(c(1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1))
Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE needed
> 

I see that the package maintainer is Juergen Gross, but I am new to R and I
haven't figured out how to contact him directly.  

Thanks,
David



[Rd] Minor bug in lillie.test from nortest package (PR#9784)
dsterling at abac.com