• using R version 3.0.0 (2013-04-03)
  • using platform: i686-pc-linux-gnu (32-bit)
  • using session charset: UTF-8
  • checking for file ‘sparseLTSEigen/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘sparseLTSEigen’ version ‘0.1.3’
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘sparseLTSEigen’ can be installed ... OK
  • checking installed package size ... NOTE
    installed size is 11.2Mb
    sub-directories of 1Mb or more:
    libs 11.1Mb
  • checking package directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over 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 whether the namespace can be loaded with stated dependencies ... OK
  • checking whether the namespace can be unloaded cleanly ... OK
  • checking loading without being on the library search path ... 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 line endings in C/C++/Fortran sources/headers ... OK
  • checking line endings in Makefiles ... OK
  • checking for portable compilation flags in Makevars ... OK
  • checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
  • checking compiled code ... OK
  • checking examples ... ERROR
    Running examples in ‘sparseLTSEigen-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: sparseLTSEigen-package
    > ### Title: RcppEigen back end for sparse least trimmed squares regression
    > ### Aliases: sparseLTSEigen-package sparseLTSEigen .CallSparseLTSEigen
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > # example is not high-dimensional to keep computation time low
    > library("mvtnorm")
    > set.seed(1234) # for reproducibility
    > n <- 100 # number of observations
    > p <- 25 # number of variables
    > beta <- rep.int(c(1, 0), c(5, p-5)) # coefficients
    > sigma <- 0.5 # controls signal-to-noise ratio
    > epsilon <- 0.1 # contamination level
    > Sigma <- 0.5^t(sapply(1:p, function(i, j) abs(i-j), 1:p))
    > x <- rmvnorm(n, sigma=Sigma) # predictor matrix
    > e <- rnorm(n) # error terms
    > i <- 1:ceiling(epsilon*n) # observations to be contaminated
    > e[i] <- e[i] + 5 # vertical outliers
    > y <- c(x %*% beta + sigma * e) # response
    > x[i,] <- x[i,] + 5 # bad leverage points
    >
    > ## fit sparse LTS model
    > # since package sparseLTSEigen is loaded, its back end based on
    > # the C++ library Eigen is used rather than the back end built
    > # into package robustHD, except on 32-bit R for Windows
    > fit <- sparseLTS(x, y, lambda = 0.05, mode = "fraction")

    *** caught segfault ***
    address 0xbff61827, cause 'memory not mapped'

    Traceback:
    1: .Call(..., PACKAGE = "sparseLTSEigen")
    2: callFun(...)
    3: callBackend("R_sparseSubsets", R_x = x, R_y = y, R_lambda = lambda, R_h = h, R_subsets = subsets, R_intercept = intercept, R_eps = eps, R_useGram = use.Gram)
    4: sparseSubsets(x, y, lambda = lambda, h = h, nsamp = nsamp[1], intercept = intercept, eps = eps, use.Gram = use.Gram)
    5: fastSparseLTS(x = x, y = y, lambda = lambda, h = h, nsamp = nsamp, initial = subsets, intercept = intercept, ncstep = ncstep, tol = tol, eps = eps, use.Gram = use.Gram, ncores = ncores)
    6: sparseLTS.default(x, y, lambda = 0.05, mode = "fraction")
    7: sparseLTS(x, y, lambda = 0.05, mode = "fraction")
    aborting ...