kassambara / survminer

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

ggforest Breaking in r 4.2.1 but not 4.1.0 #610

Open davedestep opened 2 years ago

davedestep commented 2 years ago

Expected behavior

In r version 4.1.0 I am able to generate forestplots using ggforest.

Actual behavior

In 4.2.1 with the same model I get the following problem: Error in match.names(clabs, names(xi)) : names do not match previous names

Steps to reproduce the problem

Install 4.2.1, fit a cox model, and then run something like: partially_adjusted1_forest <- ggforest(partially_adjusted1, data = analysis)