CRAN Package Check Results for Package NbClust

Last updated on 2014-09-16 08:49:49.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.2 0.57 20.07 20.64 OK
r-devel-linux-x86_64-debian-gcc 2.0.2 0.50 19.68 20.19 OK
r-devel-linux-x86_64-fedora-clang 2.0.2 22.14 OK
r-devel-linux-x86_64-fedora-gcc 2.0.2 48.49 OK
r-devel-osx-x86_64-clang 2.0.2 40.90 OK
r-devel-windows-ix86+x86_64 2.0.2 2.00 31.00 33.00 OK
r-patched-linux-x86_64 2.0.2 0.55 19.76 20.31 OK
r-patched-solaris-sparc 2.0.2 242.80 OK
r-patched-solaris-x86 2.0.2 51.40 OK
r-release-linux-ix86 2.0.2 0.86 28.08 28.94 OK
r-release-linux-x86_64 2.0.2 0.62 20.38 20.99 OK
r-release-osx-x86_64-mavericks 2.0.2 OK
r-release-osx-x86_64-snowleopard 2.0.2 OK
r-release-windows-ix86+x86_64 2.0.2 2.00 34.00 36.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