CRAN Package Check Results for Package SetMethods

Last updated on 2018-04-24 15:48:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3 7.56 81.70 89.26 OK
r-devel-linux-x86_64-debian-gcc 2.3 6.01 61.28 67.29 OK
r-devel-linux-x86_64-fedora-clang 2.3 107.30 OK
r-devel-linux-x86_64-fedora-gcc 2.3 102.47 OK
r-devel-windows-ix86+x86_64 2.3 19.00 91.00 110.00 OK
r-patched-linux-x86_64 2.3 7.42 79.60 87.02 OK
r-patched-solaris-x86 2.3 112.90 ERROR
r-release-linux-x86_64 2.3 6.88 80.42 87.30 OK
r-release-windows-ix86+x86_64 2.3 19.00 91.00 110.00 OK
r-release-osx-x86_64 2.3 OK
r-oldrel-windows-ix86+x86_64 2.3 8.00 110.00 118.00 OK
r-oldrel-osx-x86_64 2.3 OK

Check Details

Version: 2.3
Check: examples
Result: ERROR
    Running examples in ‘SetMethods-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: QCAfit
    > ### Title: Function calculating the parameters of fit
    > ### Aliases: QCAfit
    >
    > ### ** Examples
    >
    > # Generate fake data
    > set.seed(1234)
    >
    > a <- runif(100, 0, 1)
    > b <- runif(100, 0, 1)
    > c <- runif(100, 0, 1)
    > y <- runif(100, 0, 1)
    >
    > # Only one condition, for sufficiency
    > QCAfit(a, y, cond.lab = "A")
     Cons.Suf Cov.Suf PRI Cons.Suf(H)
    A 0.705 0.593 0.48 0.642
    >
    > # With three conditions, for sufficiency
    > QCAfit(cbind(a, b, c), y, cond.lab = c("A", "B", "C"))
     Cons.Suf Cov.Suf PRI Cons.Suf(H)
    A 0.705 0.593 0.480 0.642
    B 0.682 0.694 0.482 0.618
    C 0.677 0.653 0.459 0.609
    >
    > # Only one condition, for necessity
    > QCAfit(a, y, cond.lab = "A", necessity = TRUE)
     Cons.Nec Cov.Nec RoN
    A 0.593 0.705 0.813
    >
    > # With three conditions, for necessity
    > QCAfit(cbind(a, b, c), y, cond.lab = c("A", "B", "C"), necessity = TRUE)
     Cons.Nec Cov.Nec RoN
    A 0.593 0.705 0.813
    B 0.694 0.682 0.737
    C 0.653 0.677 0.755
    >
    > # With three conditions and negated output, for sufficiency
    > QCAfit(cbind(a, b, c), y, cond.lab = c("A", "B", "C"), neg.out = TRUE)
     Cons.Suf Cov.Suf PRI Cons.Suf(H)
    A 0.668 0.609 0.414 0.600
    B 0.618 0.681 0.377 0.560
    C 0.661 0.691 0.432 0.603
    >
    > # Load the Schneider data:
    >
    > data(SCHF)
    >
    > # Get parameters of fit for condition EMP as necessary for outcome EXPORT:
    >
    > QCAfit(SCHF$EMP, SCHF$EXPORT, necessity = TRUE, cond.lab = "EMP")
     Cons.Nec Cov.Nec RoN
    EMP 0.58 0.607 0.698
    >
    > # Get parameters of fit for condition ~EMP as necessary for outcome ~EXPORT:
    >
    > QCAfit(1-SCHF$EMP, SCHF$EXPORT, neg.out=TRUE, necessity = TRUE, cond.lab = "~EMP")
     Cons.Nec Cov.Nec RoN
    ~EMP 0.545 0.518 0.695
    >
    > # Get parameters of fit for all conditions as necessary for outcome EXPORT:
    >
    > QCAfit(SCHF[,1:6], SCHF$EXPORT, necessity = TRUE, cond.lab = names(SCHF[,1:6]))
     Cons.Nec Cov.Nec RoN
    EMP 0.580 0.607 0.698
    BARGAIN 0.679 0.569 0.553
    UNI 0.811 0.670 0.607
    OCCUP 0.576 0.661 0.764
    STOCK 0.891 0.719 0.628
    MA 0.715 0.720 0.750
    >
    > # Obtain the intermediate solution for outcome "EXPORT":
    >
    > sol_yi <- minimize(SCHF, outcome = "EXPORT",
    + conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
    + incl.cut = .9,
    + include = "?",
    + details = TRUE, show.cases = TRUE, dir.exp = c(0,0,0,0,0,0))
    
     *** caught segfault ***
    address fb0c6eb0, cause 'memory not mapped'
    
    Traceback:
     1: minimize(SCHF, outcome = "EXPORT", conditions = c("EMP", "BARGAIN", "UNI", "OCCUP", "STOCK", "MA"), incl.cut = 0.9, include = "?", details = TRUE, show.cases = TRUE, dir.exp = c(0, 0, 0, 0, 0, 0))
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86