• using R Under development (unstable) (2012-02-23 r58468)
  • using platform: i686-pc-linux-gnu (32-bit)
  • using session charset: UTF-8
  • checking for file ‘Modalclust/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘Modalclust’ version ‘0.2’
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... NOTE
    As from R 2.14.0 all packages need a namespace.
    One will be generated on installation, but it is better to handcraft a
    NAMESPACE file: R CMD build will produce a suitable starting point.
  • checking for executable files ... OK
  • checking whether package ‘Modalclust’ 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
  • 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 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 contents of ‘data’ directory ... OK
  • checking data for non-ASCII characters ... OK
  • checking data for ASCII and uncompressed saves ... OK
  • checking sizes of PDF files under ‘inst/doc’ ... OK
  • checking installed files from ‘inst/doc’ ... OK
  • checking examples ... ERROR
    Running examples in ‘Modalclust-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: contour.hmac
    > ### Title: Plot clusters with different colors for two dimensional data
    > ### overlayed on the contours of the original data.
    > ### Aliases: contour.hmac contour
    > ### Keywords: cluster, hierarchical, nested, modal
    >
    > ### ** Examples
    >
    > data(disc2d.hmac)
    > # disc2d.hmac is the output of phmac(disc2d,npart=1)
    >
    > contour.hmac(disc2d.hmac,level=3,col=gray(0.7))
    Loading required package: MASS
    >
    > # Provide contour line at probability density 0.05.
    > contour(disc2d.hmac,n.cluster=2,prob=0.05)
    The level at which there are 2 clusters is 3
    >
    > # Plot using smooth scatter plot.
    > contour.hmac(disc2d.hmac,n.cluster=2,smoothplot=TRUE)
    The level at which there are 2 clusters is 3
    Error in loadNamespace(name) : there is no package called ‘KernSmooth’
    Calls: contour.hmac ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
    Execution halted