CRAN Package Check Results for Package NbClust

Last updated on 2014-12-22 19:48:27.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 0.58 21.60 22.18 OK
r-devel-linux-x86_64-debian-gcc 2.0.3 0.56 19.62 20.18 OK
r-devel-linux-x86_64-fedora-clang 2.0.3 42.67 OK
r-devel-linux-x86_64-fedora-gcc 2.0.3 41.00 OK
r-devel-osx-x86_64-clang 2.0.3 40.09 OK
r-devel-windows-ix86+x86_64 2.0.3 4.00 39.00 43.00 OK
r-patched-linux-x86_64 2.0.3 0.59 20.58 21.17 OK
r-patched-solaris-sparc 2.0.3 274.60 OK
r-patched-solaris-x86 2.0.3 52.10 OK
r-release-linux-ix86 2.0.3 0.87 26.58 27.45 OK
r-release-linux-x86_64 2.0.3 0.58 20.10 20.68 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