CRAN Package Check Results for Package NbClust

Last updated on 2014-11-24 08:49:04.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 0.62 21.12 21.73 OK
r-devel-linux-x86_64-debian-gcc 2.0.3 0.57 20.43 21.00 OK
r-devel-linux-x86_64-fedora-clang 2.0.3 45.62 OK
r-devel-linux-x86_64-fedora-gcc 2.0.3 39.90 OK
r-devel-osx-x86_64-clang 2.0.3 41.97 OK
r-devel-windows-ix86+x86_64 2.0.3 2.00 29.00 31.00 OK
r-patched-linux-x86_64 2.0.3 0.59 20.23 20.82 OK
r-patched-solaris-sparc 2.0.3 258.30 OK
r-patched-solaris-x86 2.0.3 51.50 OK
r-release-linux-ix86 2.0.3 0.88 26.84 27.71 OK
r-release-linux-x86_64 2.0.3 0.59 20.26 20.85 OK
r-release-osx-x86_64-mavericks 2.0.3 OK
r-release-osx-x86_64-snowleopard 2.0.3 OK
r-release-windows-ix86+x86_64 2.0.3 2.00 31.00 33.00 OK
r-oldrel-windows-ix86+x86_64 2.0.1 2.00 19.00 21.00 ERROR

Check Details

Version: 2.0.1
Check: examples
Result: ERROR
    Running examples in 'NbClust-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: NbClust
    > ### Title: NbClust Package for determining the best number of clusters
    > ### Aliases: NbClust
    > ### Keywords: Validity Indices Number of clusters clustering validation
    > ### clustering algorithms cluster validity
    >
    > ### ** Examples
    >
    > ## A 2-dimensional example
    > x<-rbind(matrix(rnorm(100,sd=0.1),ncol=2),
    + matrix(rnorm(100,mean=1,sd=0.2),ncol=2),
    + matrix(rnorm(100,mean=5,sd=0.1),ncol=2),
    + matrix(rnorm(100,mean=7,sd=0.2),ncol=2))
    >
    > NbClust(x, distance = "euclidean", min.nc=2, max.nc=8,
    + method = "complete", index = "ch")
    All 200 observations were used.
    
    $All.index
     2 3 4 5 6 7 8
     2316.746 5535.379 23004.815 20119.928 19016.087 17702.132 16867.529
    
    $Best.nc
    Number_clusters Value_Index
     4.00 23004.82
    
    $Best.partition
     [1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
     [38] 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
     [75] 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3
    [112] 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
    [149] 3 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    [186] 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    
    >
    > ## A 3-dimensional example
    > x<-rbind(matrix(rnorm(150,sd=0.3),ncol=3),
    + matrix(rnorm(150,mean=3,sd=0.2),ncol=3),
    + matrix(rnorm(150,mean=5,sd=0.3),ncol=3))
    > NbClust(x, distance = "euclidean", min.nc=2, max.nc=10,
    + method = "ward.D2", index = "dindex")
    Error in hclust(md, method = "ward.D2") : invalid clustering method
    Calls: NbClust -> hclust
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64