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 a56784b0, 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 ...