daattali / ggExtra

📊 Add marginal histograms to ggplot2, and more ggplot2 enhancements
http://daattali.com/shiny/ggExtra-ggMarginal-demo/
Other
380 stars 48 forks source link

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

Closed Ahmad10Raza closed 3 months ago

Ahmad10Raza commented 1 year ago

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.

daattali commented 1 year ago

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

petzi53 commented 3 months ago

As far as I know, the dot-dot notation (..density..) was really deprecated in {ggplot2} beginning with version 3.4.0 for all later versions and replaced with after_stat(density).

daattali commented 3 months ago

Thanks for the reminder, fixed