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

From: <dsterling_at_abac.com>
Date: Sat, 07 Jul 2007 23:44:36 +0200 (CEST)


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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 09 Jul 2007 - 07:14:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 09 Jul 2007 - 07:36:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.