Automatically performs desired statistical tests (e.g. wilcox.test(), t.test()) to compare between groups, and adds the resulting p-values to the plot with an annotation bar. Visualizing group differences are frequently performed by boxplots, bar plots, etc. Statistical test results are often needed to be annotated on these plots. This package provides a convenient function that works on 'ggplot2' objects, performs the desired statistical test between groups of interest and annotates the test results on the plot.

- Fixed bug: error caused by
`fill`

argument in ggplot. - Enhanced text annotation. Allow flexible text annotations in different facets.
- Allow more flexible additional statistical test parameters, e.g. alternative = "less". (#2)
- Fixed bug: p-value order different than facet order, assign wrong p-value to different facets.
- Parse custom annotation text. Add new argument
`parse_text`

. - Adjusted default barheight.
- Add new argument
`response`

to specify the response cloumn of statistical test when automatic inferance fails.