- using R version 2.10.0 Patched (2009-11-18 r50482)
- using session charset: ASCII
- checking for file 'clv/DESCRIPTION' ... OK
- this is package 'clv' version '0.3-2'
- 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 'clv' 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 name space can be loaded with stated dependencies ... 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 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 'clv-Ex.R' failed.
The error most likely occurred in:
> ### * connectivity
>
> flush(stderr()); flush(stdout())
>
> ### Name: connectivity
> ### Title: Connectivity Index - Internal Measure
> ### Aliases: connectivity connectivity.diss.mx
> ### Keywords: cluster
>
> ### ** Examples
>
> # load and prepare data
> library(clv)
> data(iris)
> iris.data <- iris[,1:4]
>
> # cluster data
> pam.mod <- pam(iris.data,5) # create five clusters
> v.pred <- as.integer(pam.mod$clustering) # get cluster ids associated to gived data objects
>
> # compute connectivity index using data and its clusterization
> conn1 <- connectivity(iris.data, v.pred, 10)
> conn2 <- connectivity(iris.data, v.pred, 10, dist="manhattan")
> conn3 <- connectivity(iris.data, v.pred, 10, dist="correlation")
>
> # the same using dissimilarity matrix
> iris.diss.mx <- as.matrix(daisy(iris.data))
> conn4 <- connectivity.diss.mx(iris.diss.mx, v.pred, 10)
*** caught segfault ***
address 0x229f3e0, cause 'memory not mapped'
Traceback:
1: .Call("connectivityDissMx", diss.mx, clust, as.integer(neighbour.num), PACKAGE = "clv")
2: connectivity.diss.mx(iris.diss.mx, v.pred, 10)
aborting ...
- elapsed time (check, wall clock): 0:28