That looks like a problem with your data, as in itself a similar call with different data doesn't create that error:
ggpubr::ggline(mtcars,x = "mpg",y="cyl",color = "cyl")
You need to provide a reprex.
That looks like a problem with your data, as in itself a similar call with different data doesn't create that error:
ggpubr::ggline(mtcars,x = "mpg",y="cyl",color = "cyl")
You need to provide a reprex.