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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Cholera
> ### Title: William Farr's Data on Cholera in London, 1849
> ### Aliases: Cholera
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(Cholera)
> 
> # plot cholera deaths vs. elevation
> plot(cholera_drate ~ elevation, data=Cholera, 
+ 	pch=16, cex.lab=1.2, cex=1.2,
+ 	xlab="Elevation above high water mark (ft)",
+ 	ylab="Deaths from cholera in 1849 per 10,000")
> 
> # Farr's mortality ~ 1/ elevation law
> elev <- c(0, 10, 30, 50, 70, 90, 100, 350)
> mort <- c(174, 99, 53, 34, 27, 22, 20, 6)
> lines(mort ~ elev, lwd=2, col="blue")
> 
> # better plots, using car::scatterplot
> library(car)
Loading required package: carData
> 
> # show separate regression lines for each water supply
> scatterplot(cholera_drate ~ elevation | water, data=Cholera, 
+ 	smooth=FALSE, pch=15:17, lwd=2, id.n=2, 
+ 	labels=sub(",.*", "", Cholera$district),
+ 	col=c("red", "darkgreen", "blue"),
+ 	legend.coords="topright", legend.title="Water supply",
+ 	xlab="Elevation above high water mark (ft)",
+ 	ylab="Deaths from cholera in 1849 per 10,000")
Warning in plot.window(...) : "id.n" is not a graphical parameter
Warning in plot.window(...) : "labels" is not a graphical parameter
Warning in plot.window(...) :
  "legend.coords" is not a graphical parameter
Warning in plot.window(...) :
  "legend.title" is not a graphical parameter
Warning in plot.xy(xy, type, ...) : "id.n" is not a graphical parameter
Warning in plot.xy(xy, type, ...) :
  "labels" is not a graphical parameter
Warning in plot.xy(xy, type, ...) :
  "legend.coords" is not a graphical parameter
Warning in plot.xy(xy, type, ...) :
  "legend.title" is not a graphical parameter
Warning in axis(side = side, at = at, labels = labels, ...) :
  "id.n" is not a graphical parameter
Warning in axis(side = side, at = at, labels = labels, ...) :
  "legend.coords" is not a graphical parameter
Warning in axis(side = side, at = at, labels = labels, ...) :
  "legend.title" is not a graphical parameter
Error in axis(side = side, at = at, labels = labels, ...) : 
  'labels' is supplied and not 'at'
Calls: scatterplot ... plot.default -> localAxis -> Axis -> Axis.default -> axis
Execution halted