haleyjeppson / ggmosaic

Mosaicplots in the ggplot2 framework
https://haleyjeppson.github.io/ggmosaic/
167 stars 21 forks source link

another deprecated feature, in GH repo version #71

Open moxboxwa opened 4 months ago

moxboxwa commented 4 months ago

library(remotes)

remotes::install_github('haleyjeppson/ggmosaic')

library(tidyverse) library(ggmosaic)

flights <- fly %>% filter(!is.na(do_you_recline), !is.na(rude_to_recline))

mosaic_examp <- ggplot(data = flights) + geom_mosaic(aes(x = product(do_you_recline, rude_to_recline), fill = do_you_recline)) +
labs(y="Do you recline?", x="Is it rude to recline?", title = "Mosaic Plot (2 variables)")

mosaic_examp

Warning messages: 1: The scale_name argument of continuous_scale() is deprecated as of ggplot2 3.5.0. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated. 2: The trans argument of continuous_scale() is deprecated as of ggplot2 3.5.0. ℹ Please use the transform argument instead. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

Ke-Sekiguchi commented 3 weeks ago

I confirm the presence of this warning too. R version : 4.4.1 Rstudio: 2024.04.2 tidyverse: 2.0.0 ggmosaic : 0.3.4