jaredlander / coefplot

Plotting model coefficients
Other
27 stars 19 forks source link

Deprecated warning in multiplot #25

Closed victorhartman closed 2 years ago

victorhartman commented 2 years ago

I am consistently getting the following warning when using multiplot:

It is deprecated to specify `guide = FALSE` to remove a guide. Please use `guide = "none"` instead.

I use the option, by = 'model'

Is this a problem?

Could possible be edited in this line?

https://github.com/jaredlander/coefplot/blob/0077fef6e4fba92981c2c8b9f7b5380c429c7e6a/R/multiplot.r#L217

jaredlander commented 2 years ago

This is due to {ggplot2} changing it's arguments. You don't have to worry, your results are still correct, you just get that pesky warning. I've been meaning to make a change so that goes away, so thanks for the impetus to actually do that.

Once the change is made and you update {coefplot} you won't have to change your code at all.

jaredlander commented 2 years ago

Reopening since this needs to be fixed anyway