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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ibar
> ### Title: Interactive Bar Chart
> ### Aliases: ibar
> ### Keywords: hplot
> 
> ### ** Examples
> 
> data(iris)
> attach(iris)
> ibar(Species)
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index 4 out-of-bounds for length 4
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
	at java.base/java.util.Objects.checkIndex(Objects.java:372)
	at java.base/java.util.ArrayList.get(ArrayList.java:440)
	at org.rosuda.ibase.toolkit.PlotTextVector.finishAdd(PlotTextVector.java:124)
	at org.rosuda.ibase.toolkit.BaseCanvas.endAddingLabels(BaseCanvas.java:1441)
	at org.rosuda.ibase.plots.BarCanvas.paintBack(BarCanvas.java:254)
	at org.rosuda.ibase.toolkit.BaseCanvas.paintPoGraSS(BaseCanvas.java:324)
	at org.rosuda.ibase.toolkit.AWTGraphicsDevice.paintLayer(AWTGraphicsDevice.java:75)
	at org.rosuda.ibase.toolkit.AWTGraphicsDevice.update(AWTGraphicsDevice.java:167)
	at org.rosuda.ibase.toolkit.AWTGraphicsDevice.paint(AWTGraphicsDevice.java:90)
	at org.rosuda.ibase.toolkit.PlotCanvas.paint(PlotCanvas.java:19)
	at java.desktop/sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
	at java.desktop/sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:66)
	at java.desktop/sun.awt.RepaintArea.paint(RepaintArea.java:240)
	at java.desktop/sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:555)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Error in .jcall(.iplots.fw, "Lorg/rosuda/ibase/plots/BarCanvas;", "newBarchart",  : 
  java.lang.IndexOutOfBoundsException: Index 5 out-of-bounds for length 5
Calls: ibar -> .iplot.iBar -> .iplot.new -> .jcall -> .jcheck
Execution halted