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

> ### Name: ciu.new
> ### Title: Create CIU object
> ### Aliases: ciu.new
> 
> ### ** Examples
> 
> # Explaining the classification of an Iris instance with lda model.
> # We use a versicolor (instance 100).
> library(MASS)
> test.ind <- 100
> iris_test <- iris[test.ind, 1:4]
> iris_train <- iris[-test.ind, 1:4]
> iris_lab <- iris[[5]][-test.ind]
> model <- lda(iris_train, iris_lab)
> 
> # Create CIU object
> ciu <- ciu.new(model, Species~., iris)
> 
> # This can be used with explain method for getting CIU values
> # of one or several inputs. Here we get CIU for all three outputs
> # with input feature "Petal.Length" that happens to be the most important.
> ciu$explain(iris_test, 1)
                     CI           CU         cmin         cmax       outval
setosa     1.559656e-11 4.034933e-08 1.231112e-23 1.559656e-11 6.293232e-19
versicolor 7.481698e-03 9.893524e-01 9.925182e-01 9.999999e-01 9.999203e-01
virginica  7.481698e-03 1.064761e-02 6.266952e-08 7.481760e-03 7.972488e-05
> 
> # It is, however, more convenient to use one of the graphical visualisations.
> # Here's one using ggplot.
> ciu$ggplot.col.ciu(iris_test)
> 
> # LDA creates very sharp class limits, which can also be seen in the CIU
> # explanation. We can study what the underlying model looks like using
> # plot.ciu and plot.ciu.3D methods. Here is a 3D plot for all three classes
> # as a function of Petal Length&Width. Iris #100 (shown as the red dot)
> # is on the ridge of the "versicolor" class, which is quite narrow for
> # Petal Length&Width.
> ciu$plot.ciu.3D(iris_test,c(3,4),1,main=levels(iris$Species)[1],)
> ciu$plot.ciu.3D(iris_test,c(3,4),2,main=levels(iris$Species)[2])
> ciu$plot.ciu.3D(iris_test,c(3,4),3,main=levels(iris$Species)[3])
> 
> # Same thing with a regression task, the Boston Housing data set. Instance
> # #370 has the highest valuation (50k$). Model is gbm, which performs
> # decently here. Plotting with "standard" bar plot this time.
> # Use something like "par(mai=c(0.8,1.2,0.4,0.2))" for seeing Y-axis labels.
> library(caret)
Loading required package: lattice
Loading required package: ggplot2
Error: package or namespace load failed for 'caret' in library.dynam(lib, package, package.lib):
 DLL 'caret' not found: maybe not installed for this architecture?
Execution halted