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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: zVarArrayError
> ### Title: Variation array relative error
> ### Aliases: zVarArrayError
> 
> ### ** Examples
> 
> data(Water)
> zPatterns(Water, label = 0)
Patterns ('+' means 0, '-' means No 0) 

 Patt.ID Potassium Arsenic Calcium Sulphate No.Unobs Patt.Perc
       1         -       -       -        -        0        73
       2         -       -       -        +        1        10
       3         -       +       -        -        1         6
       4         -       +       -        +        2         1
       5         +       -       -        -        1         9
       6         +       +       -        -        2         1

Percentage cells by component 
Potassium   Arsenic   Calcium  Sulphate 
       10         8         0        11 

Overall percentage cells: 7.25% 
> zVarArrayError(Water)
Warning in zVarArray(X = X, label = 0, groups = groups, suppress.print = TRUE) :
  Some groups contain less than two observations and NAs were produced (use zPatterns to check out)
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
zCompositions
 --- call from context --- 
FUN(X[[i]], ...)
 --- call from argument --- 
if (class(x) == "list") {
    lapply(x, round, 4)
} else {
    round(x, 4)
}
 --- R stacktrace ---
where 1: FUN(X[[i]], ...)
where 2: lapply(result, function(x) {
    if (class(x) == "list") {
        lapply(x, round, 4)
    }
    else {
        round(x, 4)
    }
})
where 3: print(lapply(result, function(x) {
    if (class(x) == "list") {
        lapply(x, round, 4)
    }
    else {
        round(x, 4)
    }
}))
where 4: zVarArrayError(Water)

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (x) 
{
    if (class(x) == "list") {
        lapply(x, round, 4)
    }
    else {
        round(x, 4)
    }
}
<bytecode: 0x562b2a221b88>
<environment: 0x562b2a221300>
 --- function search by body ---
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1