- using log directory '/data/gannet/tmp/ripley/R/packages/tests-Sun/alphahull.Rcheck'
- using R version 2.11.0 Under development (unstable) (2010-02-03 r51097)
- using session charset: UTF-8
- checking for file 'alphahull/DESCRIPTION' ... OK
- this is package 'alphahull' version '0.2-0'
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'alphahull' 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 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 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 'alphahull-Ex.R' failed.
The error most likely occurred in:
> ### * areaahull
>
> flush(stderr()); flush(stdout())
>
> ### Name: areaahull
> ### Title: Area of the alpha-convex hull
> ### Aliases: areaahull
> ### Keywords: nonparametric
>
> ### ** Examples
>
> # Random sample in the unit square
> x <- matrix(runif(500), nc = 2)
> # Value of alpha
> alpha <- 1
> # alpha-convex hull
> ahull.obj <- ahull(x, alpha = alpha)
> # Area of the alpha-convex hull
> areaahull(ahull.obj)
Error in row:rownew : NA/NaN argument
Calls: areaahull
Execution halted
Time 1:05.80, 32.52 + 3.74