CRAN Package Check Results for Package SetMethods

Last updated on 2018-02-17 21:49:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3 6.61 80.54 87.15 OK
r-devel-linux-x86_64-debian-gcc 2.3 6.57 60.42 66.99 OK
r-devel-linux-x86_64-fedora-clang 2.3 102.16 OK
r-devel-linux-x86_64-fedora-gcc 2.3 98.41 OK
r-devel-windows-ix86+x86_64 2.3 11.00 86.00 97.00 OK
r-patched-linux-x86_64 2.3 2.67 91.01 93.68 OK
r-patched-solaris-x86 2.3 94.60 ERROR
r-release-linux-x86_64 2.3 3.46 90.42 93.88 OK
r-release-windows-ix86+x86_64 2.3 11.00 138.00 149.00 OK
r-release-osx-x86_64 2.3 OK
r-oldrel-windows-ix86+x86_64 2.3 8.00 119.00 127.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 14, cause 'memory not mapped'
    
    Traceback:
     1: .Call("ccubes", list(tt = cbind(rbind(pos.matrix, neg.matrix) - 1, rep(c(1, 0), c(nrow(pos.matrix), nrow(neg.matrix)))), pi.cons = pi.cons, depth = as.integer(c(pi.depth, sol.depth)), min.pin = min.pin, row.dom = row.dom, all.sol = all.sol, sol.cons = sol.cons, sol.cov = sol.cov, data = extended.data, fs = tt$fs), PACKAGE = "QCA")
     2: 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