Running examples in 'DepthProc-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: fncBoxPlot
> ### Title: Functional boxplot based on Modified Band Depth
> ### Aliases: fncBoxPlot
> 
> ### ** Examples
> 
> 
> # some data:
> x <- matrix(rnorm(200), ncol = 10)
> 
> fncBoxPlot(x, bands = c(0, 0.5, 1), method = "FM")
> fncBoxPlot(x, bands = c(0, 0.5, 1), method = "FM", byrow = FALSE)
> 
> colnames(x) <- paste0("f", 1:ncol(x))
> fncBoxPlot(x, bands = c(0, 0.5, 1), method = "FM")
> 
> # fncBoxPlot handles zoo and xts objects
> library(xts)
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

> x <- matrix(rnorm(200), ncol = 10)
> time <- as.POSIXct(1:ncol(x) * 86400, origin = "1970-01-01")
> x_xts <- xts(t(x), order.by = time)
> fncBoxPlot(x_xts, bands = c(0, 0.5, 1), method = "FM")
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
DepthProc
 --- call from context --- 
fncDepth(um, Xm, method, byrow = TRUE, ...)
 --- call from argument --- 
if (class(u) != class(X)) {
    stop("u and X must be the the same class!")
}
 --- R stacktrace ---
where 1: fncDepth(um, Xm, method, byrow = TRUE, ...)
where 2: fncDepth.zoo(u, X, method = method, byrow = byrow, ...)
where 3: fncDepth(u, X, method = method, byrow = byrow, ...)
where 4: fncBoxPlot(x_xts, bands = c(0, 0.5, 1), method = "FM")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (u, X = NULL, method = "MBD", byrow = NULL, ...) 
{
    if (!is.null(X)) {
        if (class(u) != class(X)) {
            stop("u and X must be the the same class!")
        }
    }
    UseMethod("fncDepth")
}
<bytecode: 0x4bff0f0>
<environment: namespace:DepthProc>
 --- function search by body ---
Function fncDepth in namespace DepthProc has this body.
 ----------- END OF FAILURE REPORT -------------- 
Error in if (class(u) != class(X)) { : the condition has length > 1
Calls: fncBoxPlot -> fncDepth -> fncDepth.zoo -> fncDepth
Execution halted