• using R version 2.15.0 beta (2012-03-15 r58760)
  • using platform: i386-apple-darwin9.8.0 (32-bit)
  • using session charset: ASCII
  • checking for file 'clv/DESCRIPTION' ... OK
  • this is package 'clv' version '0.3-2'
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking whether package 'clv' can be installed ... OK
  • checking installed package size ... 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
  • loading checks for arch 'i386'
    ** 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 namespace can be loaded with stated dependencies ... OK
    ** checking whether the namespace can be unloaded cleanly ... OK
  • loading checks for arch 'x86_64'
    ** 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 namespace can be loaded with stated dependencies ... OK
    ** checking whether the namespace 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 for unstated dependencies in examples ... OK
  • checking line endings in C/C++/Fortran sources/headers ... OK
  • checking line endings in Makefiles ... OK
  • checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
  • checking compiled code ... OK
  • checking examples ...
    ** running examples for arch 'i386' ... ERROR
    Running examples in 'clv-Ex.R' failed
    The error most likely occurred in:

    > ### 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 0x1f383e0, 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 ...
    ** running examples for arch 'x86_64' ... ERROR
    Running examples in 'clv-Ex.R' failed
    The error most likely occurred in:

    > ### 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 0x102e033f0, 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:50