- using log directory '/data/gannet/tmp/ripley/R/packages/tests-Sun/cba.Rcheck'
- using R version 2.11.0 Under development (unstable) (2010-02-03 r51097)
- using session charset: UTF-8
- checking for file 'cba/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'cba' version '0.2-6'
- checking package name space information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'cba' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the name space can be loaded with stated dependencies ... OK
- checking whether the name space can be unloaded cleanly ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking data for non-ASCII characters ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking for portable use of $BLAS_LIBS ... OK
- checking examples ... ERROR
Running examples in 'cba-Ex.R' failed.
The error most likely occurred in:
> ### * proximus
>
> flush(stderr()); flush(stdout())
>
> ### Name: proximus
> ### Title: Proximus
> ### Aliases: proximus
> ### Keywords: cluster
>
> ### ** Examples
>
> x <- matrix(sample(c(FALSE, TRUE), 200, rep=TRUE), ncol=10)
> pr <- proximus(x, max.radius=8)
Warning in proximus(x, max.radius = 8) : res2R result count error
> summary(pr)
Error in if (a$c == 0 && ny == 0) 1 else 1/(1 + 2 * (a$n - a$c)/(a$c + :
missing value where TRUE/FALSE needed
Calls: summary -> summary.proximus
Execution halted
Time 1:35.90, 60.90 + 4.81