kassambara / survminer

Survival Analysis and Visualization
https://rpkgs.datanovia.com/survminer/
509 stars 164 forks source link

problem #661

Closed yourusern closed 2 weeks ago

yourusern commented 1 month ago

Expected behavior

no warning

Actual behavior

geom_smooth() using formula = 'y ~ x' Warnmeldung: gather_() was deprecated in tidyr 1.2.0. ℹ Please use gather() instead. ℹ The deprecated feature was likely used in the survminer package. Please report the issue at https://github.com/kassambara/survminer/issues. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

Steps to reproduce the problem

library(survival) library(survminer)

vfit <- coxph(Surv(time,status) ~ trt + factor(celltype) + karno + age, data=veteran, x=TRUE)

ggcoxdiagnostics(vfit, type = "schoenfeld")

session_info()

# please paste here the result of
devtools::session_info()
kassambara commented 2 weeks ago

fixed in #665 and #579