CRAN Package Check Results for Package NbClust

Last updated on 2014-07-23 21:47:09.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.1 0.67 19.88 20.55 OK
r-devel-linux-x86_64-debian-gcc 2.0.1 0.52 19.54 20.07 OK
r-devel-linux-x86_64-fedora-clang 2.0.1 33.88 OK
r-devel-linux-x86_64-fedora-gcc 2.0.1 20.99 OK
r-devel-osx-x86_64-clang 2.0.1 38.76 OK
r-devel-windows-ix86+x86_64 2.0.1 3.00 29.00 32.00 OK
r-patched-linux-x86_64 2.0.1 0.53 19.36 19.89 OK
r-patched-solaris-sparc 2.0.1 240.30 OK
r-patched-solaris-x86 2.0.1 50.00 OK
r-release-linux-ix86 2.0.1 0.84 26.98 27.82 OK
r-release-linux-x86_64 2.0.1 0.54 19.85 20.39 OK
r-release-osx-x86_64-mavericks 2.0.1 OK
r-release-osx-x86_64-snowleopard 2.0.1 OK
r-release-windows-ix86+x86_64 2.0.1 2.00 28.00 30.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