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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: c.trellis
> ### Title: Merge trellis objects, using same or different scales
> ### Aliases: c.trellis xyplot.list mergedTrellisLegendGrob
> ### Keywords: aplot
> 
> ### ** Examples
> 
> 
> ## Combine different types of plots.
> c(wireframe(volcano), contourplot(volcano))
> 
> ## Merging levelplot with xyplot
> levObj <- levelplot(prop.table(WorldPhones, 1) * 100)
> xyObj <- xyplot(Phones ~ Year, data.frame(Phones = rowSums(WorldPhones),
+       Year = row.names(WorldPhones)), type="b", ylim = c(0, 150000))
> ## NOTE: prepanel.levelplot (from first object) is used for entire plot.
> cObj <- c(levObj, xyObj, layout = 1:2)
> update(cObj, scales = list(y = list(rot = 0)),
+        ylab = c("proportional distribution", "number of phones"))
> 
> ## Combine two xyplots.
> sepals <- xyplot(Sepal.Length ~ Sepal.Width, iris, groups = Species,
+     xlab = "Width", ylab = "Height")
> petals <- xyplot(Petal.Length ~ Petal.Width, iris, groups = Species)
> c(Sepals = sepals, Petals = petals)
> 
> ## Force same scales (re-calculate panel limits from merged data):
> c(Sepals = sepals, Petals = petals, x.same = TRUE, y.same = TRUE)
> 
> ## Or - create xyplots from a list of formulas
> xyplot.list(list(Sepals = Sepal.Length ~ Sepal.Width,
+                  Petals = Petal.Length ~ Petal.Width),
+              data = iris, groups = Species, x.same = TRUE,
+              xlab = "Width", ylab = "Height")
> 
> ## Create histograms from a list of objects, and merge them.
> xyplot.list(iris, FUN = histogram)
> 
> ## Create cumulative distribution plots from a list of objects
> xyplot.list(iris[1:4], FUN = qqmath, groups = iris$Species,
+             auto.key = TRUE)
> 
> ## Display a table as both frequencies and proportions:
> data(postdoc)
> ## remove last row (containing totals)
> postdoc <- postdoc[1:(nrow(postdoc)-1),]
> pdprops <- barchart(prop.table(postdoc, margin = 1),
+                     auto.key = list(adj = 1))
> pdmargin <- barchart(margin.table(postdoc, 1))
Error in dimnames(x) <- dnx : 'dimnames' applied to non-array
Calls: barchart ... eval -> eval -> data.frame -> do.call -> provideDimnames
Execution halted