• using R version 2.8.0 (2008-10-20)
  • using session charset: ASCII
  • checking for file 'ks/DESCRIPTION' ... OK
  • this is package 'ks' version '1.5.6'
  • checking package name space information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking for executable files ... OK
  • checking whether package 'ks' can be installed ... 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 name space can be loaded with stated dependencies ... 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 cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking data for non-ASCII characters ... OK
  • checking line endings in C/C++/Fortran sources/headers ... OK
  • checking line endings in Makefiles ... OK
  • checking for portable use of $BLAS_LIBS ... OK
  • creating ks-Ex.R ... OK
  • checking examples ... ERROR
    Running examples in 'ks-Ex.R' failed.
    The error most likely occurred in:

    > ### * Hpi
    >
    > flush(stderr()); flush(stdout())
    >
    > ### Name: Hpi, Hpi.diag, hpi
    > ### Title: Plug-in bandwidth matrix selector for multivariate data
    > ### Aliases: Hpi Hpi.diag hpi
    > ### Keywords: smooth
    >
    > ### ** Examples
    >
    > ## univariate example
    > x <- rnorm.mixt(100, mus=0, sigmas=1)
    > hpi(x)
    [1] 0.3957139
    >
    > ## bivariate example
    > data(unicef)
    > Hpi(unicef)
    [,1] [,2]
    [1,] 810.9487 -108.7389
    [2,] -108.7389 19.7919
    > Hpi(unicef, binned=TRUE)
    [,1] [,2]
    [1,] 806.8899 -107.58537
    [2,] -107.5854 19.55377
    > Hpi.diag(unicef)
    [,1] [,2]
    [1,] 201.5118 0.000000
    [2,] 0.0000 6.242821
    > Hpi(unicef, pilot="unconstr")
    Loading required package: Matrix
    Loading required package: lattice

    Attaching package: 'Matrix'


    The following object(s) are masked from package:stats :

    xtabs


    The following object(s) are masked from package:base :

    colMeans,
    colSums,
    rcond,
    rowMeans,
    rowSums

    Error in class(value) <- "matrix" :
    invalid to set the class to matrix unless the dimension attribute is of length 2 (was 1)
    Calls: Hpi ... D4L0 -> %*% -> %*% -> as -> asMethod -> as<- -> asMethod
    Execution halted
  • elapsed time (check, wall clock): 2:45