aphalo / ggpmisc

R package ggpmisc is an extension to ggplot2 and the Grammar of Graphics
https://docs.r4photobiology.info/ggpmisc
94 stars 6 forks source link

stat_fit_fb() is returning duplicated rows! #24

Closed aphalo closed 2 years ago

aphalo commented 2 years ago

Using geom_debug() one sees that without groups or facets a data frame with two rows is returned. The example in the User Guide shows this. For some reason two versions of the same methods are run. The problem is not visible in the plot as two identical and overlapping tables are added to the plot with the top one hiding the lower one-

aphalo commented 2 years ago

Apparently now fixed, but what was causing this bug is still a mistery.