Skip to content

Deprecation lifecycle messages from ggplot2 #692

@HenningLorenzen-ext-bayer

Description

Unlike suggested in the lifecycle message, {ggpubr} might not be the culprit.

suppressPackageStartupMessages({
  library(survival)
  library(survminer)
})

ggsurvplot(
  fit = survfit(Surv(time = time, event = status) ~ x, data = aml),
  surv.median.line = "hv"
)
#> Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
#> ℹ Please use `linewidth` instead.
#> ℹ The deprecated feature was likely used in the ggpubr package.
#>   Please report the issue at <https://github.com/kassambara/ggpubr/issues>.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.

Created on 2025-11-21 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions