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

> ### Name: catseyesplot
> ### Title: catseyesplot
> ### Aliases: catseyesplot
> 
> ### ** Examples
> 
> #Show catseye plots for 4 groups with means of c(-3,2,-1,6)
> #    and standard errors of c(1,2,4,3)
> catseyesplot(1:4,ymean=c(-3,2,-1,6),yse=c(1,2,4,3),xlab="",ylab="",main="4 Groups",xaxt="n")
[[1]]
[1] 0.5 4.5

[[2]]
[1] -9 12

> axis(1,at=1:4,labels = c("Group1","Group2","Group3","Group4"))
> #Optionally, add points and lines (usually lines only when joining time sequence)
> lines(1:4,c(-3,2,-1,6),type="b")
> 
> #Using the labels option
> catseyesplot(1:4,ymean=c(-3,2,-1,6),yse=c(1,2,4,3),xlab="",ylab="",labels =
+      c("Group A","Group B","Group C","Group D"))
[[1]]
[1] 0.5 4.5

[[2]]
[1] -9 12

> catseyesplot(1:4,ymean=c(-3,2,-1,6),yse=c(1,2,4,3),xlab="",ylab="",labels = TRUE)
[[1]]
[1] 0.5 4.5

[[2]]
[1] -9 12

> 
> #Demontration of inclusion of scatterplots
> datTest=data.frame(x=c(rep(1,10),rep(2,10),rep(3,10)),y=rnorm(10,30))
> datTest$y[datTest$x==2]=datTest$y[datTest$x==2]+7
> datTest$y[datTest$x==3]=datTest$y[datTest$x==3]+5
> means=c(mean(datTest$y[datTest$x==1]),mean(datTest$y[datTest$x==2]),
+      mean(datTest$y[datTest$x==3]))
> ses=c(sd(datTest$y[datTest$x==1]),sd(datTest$y[datTest$x==2]),
+      sd(datTest$y[datTest$x==3]))/sqrt(10)
> 
> catseyesplot(1:3,ymean=means,yse=ses,xlab="Group",ylab="",x_scatter = datTest$x,
+      y_scatter = datTest$y)
[[1]]
[1] 0.5 3.5

[[2]]
[1] 29.16437 38.59528

> catseyesplot(1:3,ymean=means,yse=ses,xlab="Group",ylab="",x_scatter = datTest$x,
+      y_scatter = datTest$y,jitter_scatter = TRUE,xaxt="n")
[[1]]
[1] 0.5 3.5

[[2]]
[1] 29.16437 38.59528

> axis(1,at=1:3,labels = c("Group1","Group2","Group3"))
> 
> #Demonstration of plotting of factor estimates by direct prediction from lm model
> datTest$x=factor(datTest$x)
> lm1=lm(y~x,data=datTest)
> newdata=data.frame(x=c("1","2","3"))
> pred_lm=predict(lm1,se.fit = TRUE,newdata=newdata,type="response")
> catseyesplot(1:3,ymean=pred_lm$fit,yse=pred_lm$se.fit,xlab="Group",ylab="",
+      plot.mean.line = TRUE,labels=TRUE,
+      x_scatter = datTest$x,y_scatter = datTest$y,jitter_scatter = TRUE,xaxt="n")
[[1]]
[1] 0.5 3.5

[[2]]
[1] 29.16437 38.59528

> 
> #Demonstration of plotting of factor estimates from emmeans package
> require(emmeans)
Loading required package: emmeans
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'emmeans'
> emmeans1=emmeans(lm1,~x)
Error in emmeans(lm1, ~x) : could not find function "emmeans"
Execution halted