Running examples in ‘seminr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: PLSc
> ### Title: seminr PLSc Function
> ### Aliases: PLSc
> 
> ### ** Examples
> 
> mobi <- mobi
> 
> #seminr syntax for creating measurement model
> mobi_mm <- constructs(
+              reflective("Image",        multi_items("IMAG", 1:5)),
+              reflective("Expectation",  multi_items("CUEX", 1:3)),
+              reflective("Quality",      multi_items("PERQ", 1:7)),
+              reflective("Value",        multi_items("PERV", 1:2)),
+              reflective("Satisfaction", multi_items("CUSA", 1:3)),
+              reflective("Complaints",   single_item("CUSCO")),
+              reflective("Loyalty",      multi_items("CUSL", 1:3))
+            )
> #seminr syntax for creating structural model
> mobi_sm <- relationships(
+   paths(from = "Image",        to = c("Expectation", "Satisfaction", "Loyalty")),
+   paths(from = "Expectation",  to = c("Quality", "Value", "Satisfaction")),
+   paths(from = "Quality",      to = c("Value", "Satisfaction")),
+   paths(from = "Value",        to = c("Satisfaction")),
+   paths(from = "Satisfaction", to = c("Complaints", "Loyalty")),
+   paths(from = "Complaints",   to = "Loyalty")
+ )
> 
> seminr_model <- estimate_pls(data = mobi,
+                              measurement_model = mobi_mm,
+                              structural_model = mobi_sm)
Generating the seminr model
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
seminr
 --- call from context --- 
mmMatrix_per_construct(construct, mmMatrix)
 --- call from argument --- 
if (class(constructmatrix) == "character") {
    constructmatrix = t(as.matrix(constructmatrix))
}
 --- R stacktrace ---
where 1: mmMatrix_per_construct(construct, mmMatrix)
where 2: nrow(mmMatrix_per_construct(construct, mmMatrix))
where 3: warning_single_item_formative(mmMatrix)
where 4: warnings(measurement_model, data, structural_model)
where 5: estimate_pls(data = mobi, measurement_model = mobi_mm, structural_model = mobi_sm)

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (construct, mmMatrix) 
{
    constructmatrix <- mmMatrix[mmMatrix[, "construct"] == construct, 
        c("construct", "measurement", "type")]
    if (class(constructmatrix) == "character") {
        constructmatrix = t(as.matrix(constructmatrix))
    }
    return(constructmatrix)
}
<bytecode: 0x55f65b4e9ba0>
<environment: namespace:seminr>
 --- function search by body ---
Function mmMatrix_per_construct in namespace seminr has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1