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