'why do I get sample is too sparse to find TD using beanplot?

I am trying to draw a beanplot with the following code:

library(beanplot)

beanplot(df, col="#cccccc", names="plot-1", yaxt="n", overallline="median", ll=0.00001)

I get the following error:

Error in bw.SJ(x, method = "dpi") : sample is too sparse to find TD

dput(df) data here: https://pastebin.com/fyCSmX6t



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source