CRAN Package Check Results for Package pyinit

Last updated on 2020-08-07 01:49:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 4.33 23.19 27.52 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 3.05 17.89 20.94 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 41.04 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 31.57 OK
r-devel-windows-ix86+x86_64 1.0.3 19.00 45.00 64.00 OK
r-patched-linux-x86_64 1.0.3 3.44 22.97 26.41 OK
r-patched-solaris-x86 1.0.3 53.00 ERROR
r-release-linux-x86_64 1.0.3 3.93 22.98 26.91 OK
r-release-macos-x86_64 1.0.3 OK
r-release-windows-ix86+x86_64 1.0.3 31.00 62.00 93.00 OK
r-oldrel-macos-x86_64 1.0.3 OK
r-oldrel-windows-ix86+x86_64 1.0.3 14.00 42.00 56.00 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