CRAN Package Check Results for Package SetMethods

Last updated on 2020-03-29 15:51:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.4 ERROR
r-devel-linux-x86_64-debian-gcc 2.4 10.81 70.16 80.97 ERROR
r-devel-linux-x86_64-fedora-clang 2.4 120.72 ERROR
r-devel-linux-x86_64-fedora-gcc 2.4 119.62 ERROR
r-devel-windows-ix86+x86_64 2.4 28.00 100.00 128.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 2.4 24.00 141.00 165.00 NOTE
r-patched-linux-x86_64 2.4 11.16 89.13 100.29 ERROR
r-patched-solaris-x86 2.4 151.20 ERROR
r-release-linux-x86_64 2.4 10.57 82.54 93.11 ERROR
r-release-windows-ix86+x86_64 2.4 38.00 145.00 183.00 ERROR
r-release-osx-x86_64 2.4 OK
r-oldrel-windows-ix86+x86_64 2.4 25.00 134.00 159.00 ERROR
r-oldrel-osx-x86_64 2.4 OK

Check Details

Version: 2.4
Check: R code for possible problems
Result: NOTE
    theory.intersections: no visible global function definition for 'sop'
    Undefined global functions or variables:
     sop
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 2.4
Check: examples
Result: ERROR
    Running examples in 'SetMethods-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### 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 necessity
    > QCAfit(a, y, cond.lab = "A")
     Cons.Nec Cov.Nec RoN
    A 0.593 0.705 0.813
    >
    > # With three conditions and their negation, for necessity
    > QCAfit(cbind(a, b, c), y)
     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
    ~a 0.721 0.666 0.700
    ~b 0.611 0.675 0.775
    ~c 0.674 0.702 0.771
    >
    > # Only one condition, for sufficiency
    > QCAfit(a, y, cond.lab = "A", necessity = FALSE)
     Cons.Suf Cov.Suf PRI Cons.Suf(H)
    A 0.705 0.593 0.48 0.642
    >
    > # With three conditions, their negation and negated output, for necessity
    > QCAfit(cbind(a, b, c), y, neg.out = TRUE)
     Cons.Nec Cov.Nec RoN
    a 0.609 0.668 0.795
    b 0.681 0.618 0.699
    c 0.691 0.661 0.746
    ~a 0.731 0.624 0.674
    ~b 0.650 0.662 0.769
    ~c 0.663 0.638 0.735
    >
    > # Load the Schneider data:
    >
    > data(SCHF)
    >
    > # Get parameters of fit for condition EMP as necessary for outcome EXPORT:
    >
    > QCAfit(SCHF$EMP, SCHF$EXPORT, 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, cond.lab = "~EMP")
     Cons.Nec Cov.Nec RoN
    ~EMP 0.545 0.518 0.695
    >
    > # Get parameters of fit for all conditions and their negation as necessary for outcome EXPORT:
    >
    > QCAfit(SCHF[,1:6], SCHF$EXPORT)
     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
    ~EMP 0.641 0.737 0.807
    ~BARGAIN 0.496 0.782 0.896
    ~UNI 0.309 0.501 0.797
    ~OCCUP 0.713 0.745 0.781
    ~STOCK 0.245 0.417 0.783
    ~MA 0.496 0.595 0.746
    >
    > # Obtain the parsimonious solution for outcome "EXPORT":
    >
    > sol_yp <- minimize(SCHF, outcome = "EXPORT",
    + conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
    + incl.cut = .9,
    + include = "?",
    + details = TRUE, show.cases = TRUE)
    >
    > # Get parameters of fit for the parsimonious solution:
    >
    > QCAfit(x = sol_yp, y = "EXPORT", necessity = FALSE)
    Error in v[, i] : incorrect number of dimensions
    Calls: QCAfit
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 2.4
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 necessity
    > QCAfit(a, y, cond.lab = "A")
     Cons.Nec Cov.Nec RoN
    A 0.593 0.705 0.813
    >
    > # With three conditions and their negation, for necessity
    > QCAfit(cbind(a, b, c), y)
     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
    ~a 0.721 0.666 0.700
    ~b 0.611 0.675 0.775
    ~c 0.674 0.702 0.771
    >
    > # Only one condition, for sufficiency
    > QCAfit(a, y, cond.lab = "A", necessity = FALSE)
     Cons.Suf Cov.Suf PRI Cons.Suf(H)
    A 0.705 0.593 0.48 0.642
    >
    > # With three conditions, their negation and negated output, for necessity
    > QCAfit(cbind(a, b, c), y, neg.out = TRUE)
     Cons.Nec Cov.Nec RoN
    a 0.609 0.668 0.795
    b 0.681 0.618 0.699
    c 0.691 0.661 0.746
    ~a 0.731 0.624 0.674
    ~b 0.650 0.662 0.769
    ~c 0.663 0.638 0.735
    >
    > # Load the Schneider data:
    >
    > data(SCHF)
    >
    > # Get parameters of fit for condition EMP as necessary for outcome EXPORT:
    >
    > QCAfit(SCHF$EMP, SCHF$EXPORT, 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, cond.lab = "~EMP")
     Cons.Nec Cov.Nec RoN
    ~EMP 0.545 0.518 0.695
    >
    > # Get parameters of fit for all conditions and their negation as necessary for outcome EXPORT:
    >
    > QCAfit(SCHF[,1:6], SCHF$EXPORT)
     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
    ~EMP 0.641 0.737 0.807
    ~BARGAIN 0.496 0.782 0.896
    ~UNI 0.309 0.501 0.797
    ~OCCUP 0.713 0.745 0.781
    ~STOCK 0.245 0.417 0.783
    ~MA 0.496 0.595 0.746
    >
    > # Obtain the parsimonious solution for outcome "EXPORT":
    >
    > sol_yp <- minimize(SCHF, outcome = "EXPORT",
    + conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
    + incl.cut = .9,
    + include = "?",
    + details = TRUE, show.cases = TRUE)
    >
    > # Get parameters of fit for the parsimonious solution:
    >
    > QCAfit(x = sol_yp, y = "EXPORT", necessity = FALSE)
    Error in v[, i] : incorrect number of dimensions
    Calls: QCAfit
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 2.4
Check: examples
Result: ERROR
    Running examples in ‘SetMethods-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: LR.intersect
    > ### Title: Function for identifying contradictory simplifying assumptions
    > ### or easy counterfactuals.
    > ### Aliases: LR.intersect
    > ### Keywords: QCA
    >
    > ### ** Examples
    >
    > # Import your data. For example:
    >
    > data(SCHF)
    >
    > # Get the parsimonious solution:
    >
    > sol_yp <- minimize(SCHF, outcome = "EXPORT",
    + conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
    + incl.cut = .9,
    + include = "?",
    + details = TRUE, show.cases = TRUE)
    
     *** caught segfault ***
    address 293506d0, 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)
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86