CRAN Package Check Results for Package pyinit

Last updated on 2019-07-16 05:48:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 6.05 22.31 28.36 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 4.17 18.76 22.93 OK
r-devel-linux-x86_64-fedora-clang 1.0.2 37.02 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 33.56 OK
r-devel-windows-ix86+x86_64 1.0.2 40.00 43.00 83.00 OK
r-patched-linux-x86_64 1.0.2 4.92 22.59 27.51 OK
r-patched-solaris-x86 1.0.2 52.30 ERROR
r-release-linux-x86_64 1.0.2 4.95 22.60 27.55 OK
r-release-windows-ix86+x86_64 1.0.2 18.00 54.00 72.00 OK
r-release-osx-x86_64 1.0.2 OK
r-oldrel-windows-ix86+x86_64 1.0.2 35.00 37.00 72.00 OK
r-oldrel-osx-x86_64 1.0.2 OK

Check Details

Version: 1.0.2
Check: examples
Result: ERROR
    Running examples in ‘pyinit-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: pyinit
    > ### Title: PY (Pena-Yohai) initial estimates for S-estimates of regression
    > ### Aliases: pyinit
    >
    > ### ** Examples
    >
    > # generate a simple synthetic data set for a linear regression model
    > # with true regression coefficients all equal to one "(1, 1, 1, 1, 1)"
    > set.seed(123)
    > x <- matrix(rnorm(100*4), 100, 4)
    > y <- rnorm(100) + rowSums(x) + 1
    > # add masked outliers
    > a <- svd(var(x))$v[,4]
    > x <- rbind(x, t(outer(a, rnorm(20, mean=4, sd=1))))
    > y <- c(y, rnorm(20, mean=-2, sd=.2))
    >
    > # these outliers are difficult to find
    > plot(lm(y~x), ask=FALSE)
    >
    > # use pyinit to obtain estimated regression coefficients
    > tmp <- pyinit(x=x, y=y, resid_keep_method='proportion', psc_keep = .5, resid_keep_prop=.5)
    
     *** caught segfault ***
    address 0, cause 'memory not mapped'
    
    Traceback:
     1: pyinit(x = x, y = y, resid_keep_method = "proportion", psc_keep = 0.5, resid_keep_prop = 0.5)
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86