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

Can't load sjPlot: object ‘standard_error_robust’ is not exported by 'namespace:parameters'

sj-perry opened this issue · comments

I've recently updated sjPlot and I can no longer load the package, as it is trying to load object standard_error_robust from the parameters package which does not exist

Error: package or namespace load failed for ‘sjPlot’:
 object ‘standard_error_robust’ is not exported by 'namespace:parameters'

My session information:

R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252    LC_MONETARY=English_Canada.1252
[4] LC_NUMERIC=C                    LC_TIME=English_Canada.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] parameters_0.21.3

loaded via a namespace (and not attached):
 [1] zoo_1.8-9          tidyselect_1.2.0   sjlabelled_1.1.8   xfun_0.31          performance_0.10.8 purrr_1.0.2       
 [7] splines_4.1.1      lattice_0.20-44    colorspace_2.0-2   vctrs_0.6.3        generics_0.1.0     utf8_1.2.2        
[13] survival_3.2-11    rlang_1.1.1        pillar_1.9.0       nloptr_1.2.2.2     glue_1.6.2         effectsize_0.8.6  
[19] modelr_0.1.8       emmeans_1.6.3      multcomp_1.4-17    lifecycle_1.0.3    sjmisc_2.8.7       munsell_0.5.0     
[25] gtable_0.3.0       bayestestR_0.13.1  mvtnorm_1.1-2      codetools_0.2-18   coda_0.19-4        knitr_1.39        
[31] datawizard_0.9.0   fansi_0.5.0        broom_1.0.3        TH.data_1.0-10     Rcpp_1.0.10        xtable_1.8-4      
[37] backports_1.2.1    scales_1.2.1       ggeffects_1.1.1    lme4_1.1-35.1      ggplot2_3.4.4      insight_0.19.6    
[43] dplyr_1.1.2        grid_4.1.1         cli_3.6.1          tools_4.1.1        sandwich_3.0-1     magrittr_2.0.3    
[49] tibble_3.2.1       tidyr_1.3.0        pkgconfig_2.0.3    MASS_7.3-54        Matrix_1.5-3       estimability_1.3  
[55] minqa_1.2.4        rstudioapi_0.13    R6_2.5.1           boot_1.3-28        nlme_3.1-152       compiler_4.1.1    

Hi, I guess you need to update your packages. Please run easystats::install_latest().

And/or additionally update other packages (sjlabelled, sjmisc, sjPlot) as well.

I've followed your advice and the issue persists.Copying the new session information:

sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252    LC_MONETARY=English_Canada.1252
[4] LC_NUMERIC=C                    LC_TIME=English_Canada.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] tidyr_1.3.0          jsonlite_1.7.2       splines_4.1.1        carData_3.0-4        modelr_0.1.8        
 [6] datawizard_0.9.0.5   easystats_0.7.0.1    yaml_2.2.1           bayestestR_0.13.1.7  pillar_1.9.0        
[11] backports_1.2.1      lattice_0.20-44      glue_1.6.2           digest_0.6.27        ggsignif_0.6.2      
[16] minqa_1.2.4          colorspace_2.0-2     sandwich_3.0-1       htmltools_0.5.2      Matrix_1.5-3        
[21] plyr_1.8.6           pkgconfig_2.0.3      broom_1.0.3          purrr_1.0.2          xtable_1.8-4        
[26] mvtnorm_1.1-2        scales_1.2.1         lme4_1.1-35.1        emmeans_1.6.3        tibble_3.2.1        
[31] generics_0.1.0       car_3.0-12           ggplot2_3.4.4        sjlabelled_1.2.0     ggpubr_0.4.0        
[36] TH.data_1.0-10       cli_3.6.1            survival_3.2-11      magrittr_2.0.3       effectsize_0.8.6.4  
[41] estimability_1.3     evaluate_0.15        fansi_0.5.0          nlme_3.1-152         MASS_7.3-54         
[46] rstatix_0.7.0        rsconnect_0.8.24     tools_4.1.1          lifecycle_1.0.3      multcomp_1.4-17     
[51] stringr_1.5.0        munsell_0.5.0        ggeffects_1.1.1      compiler_4.1.1       rlang_1.1.1         
[56] nloptr_1.2.2.2       grid_4.1.1           parameters_0.21.3.6  rstudioapi_0.13      rmarkdown_2.14      
[61] boot_1.3-28          gtable_0.3.0         codetools_0.2-18     abind_1.4-5          curl_4.3.2          
[66] sjmisc_2.8.9         R6_2.5.1             zoo_1.8-9            knitr_1.39           dplyr_1.1.2         
[71] performance_0.10.8.7 fastmap_1.1.0        utf8_1.2.2           insight_0.19.7.4     stringi_1.6.2       
[76] Rcpp_1.0.10          vctrs_0.6.3          tidyselect_1.2.0     xfun_0.31            coda_0.19-4        

I updated to R version 4.3.3 and this issue went away. I'm assuming that it was some weird interaction between packages that I'll never understand, but I'll mark this closed now.