CRAN Package Check Results for Package pyinit

Last updated on 2019-10-15 05:47:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 4.03 20.28 24.31 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 2.91 16.68 19.59 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 31.46 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 30.57 OK
r-devel-windows-ix86+x86_64 1.0.3 26.00 57.00 83.00 OK
r-patched-linux-x86_64 1.0.3 2.87 19.98 22.85 OK
r-patched-solaris-x86 1.0.3 47.60 ERROR
r-release-linux-x86_64 1.0.3 3.14 19.89 23.03 OK
r-release-windows-ix86+x86_64 1.0.3 23.00 40.00 63.00 OK
r-release-osx-x86_64 1.0.3 OK
r-oldrel-windows-ix86+x86_64 1.0.3 13.00 38.00 51.00 OK
r-oldrel-osx-x86_64 1.0.3 OK

Check Details

Version: 1.0.3
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