ggExtra icon indicating copy to clipboard operation
ggExtra copied to clipboard

The dot-dot notation (`..density..`) was deprecated in ggplot2 3.4.0.

Open Ahmad10Raza opened this issue 2 years ago • 1 comments

Warning message: The dot-dot notation (..density..) was deprecated in ggplot2 3.4.0. ℹ Please use after_stat(density) instead. ℹ The deprecated feature was likely used in the ggExtra package. Please report the issue at https://github.com/daattali/ggExtra/issues. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

Ahmad10Raza avatar Feb 05 '23 09:02 Ahmad10Raza

Thanks for the report! After looking into it, it looks like after_stat() was only introduced in ggplot2 3.3.0 - the previous minor version. It seems a little aggressive to force update when only a single minor version has changed. I'm inclined to keep ..density.. for now in order to support previous ggplot2 versions

daattali avatar Feb 05 '23 16:02 daattali