strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science

Home Page:https://strengejacke.github.io/sjPlot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation warning for `plot_model`

valentynbez opened this issue · comments

Hello,

thank you for the amazing library. I stumbled upon a deprecation warning, which might be a problem in future.
I plot my random effect model with the command:

plot_model(model, type="re", show.values=TRUE, values.p=TRUE,
           value.offset=0.35,
           grid = FALSE,
           sort.est = "sort.all")

And get the:

Warning message:
"`select_vars()` was deprecated in dplyr 0.8.4.
Please use `tidyselect::vars_select()` instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated."

Cheers

Do you have a reprex? I don't get this warning.

library(lme4)
#> Loading required package: Matrix
library(sjPlot)
fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
plot_model(fm1, type="re", show.values=TRUE, values.p=TRUE,
           value.offset=0.35,
           grid = FALSE,
           sort.est = "sort.all")
#> Warning in checkMatrixPackageVersion(): Package version inconsistency detected.
#> TMB was built with Matrix version 1.4.1
#> Current Matrix version is 1.4.0
#> Please re-install 'TMB' from source using install.packages('TMB', type = 'source') or ask CRAN for a binary version of 'TMB' matching CRAN's 'Matrix' package
#> Warning in checkDepPackageVersion(dep_pkg = "TMB"): Package version inconsistency detected.
#> glmmTMB was built with TMB version 1.8.0
#> Current TMB version is 1.8.1
#> Please re-install glmmTMB from source or restore original 'TMB' package (see '?reinstalling' for more information)
#> [[1]]

#> 
#> [[2]]

Created on 2022-04-05 by the reprex package (v2.0.1)