strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science
https://strengejacke.github.io/sjPlot
603 stars 91 forks source link

Error: object ‘standard_error_robust’ is not exported by 'namespace:parameters' #866

Closed andreoulios closed 1 year ago

andreoulios commented 1 year ago

Can not import sjPlot after installing easystats. Conflict with package parameters.

Removed and reinstalled both packages, have updated to the latest using easystats::install_latest and the problem remains.

sjPlot was first installed in system library from c2d4u repo. Installing from rstudio stucks with the same error.

strengejacke commented 1 year ago

I think you need the latest versions from CRAN to successfully install all packages

yuryzablotski commented 1 year ago

Had the same issue, updating everything solved the problem! Thanks, Daniel!

andreoulios commented 1 year ago

I tried installing first easystats then sjplot and loading with the same order... the error remains

i tried loading first sjplot (user library) the same error happens.

i tried loading first sjplot (system library) then easystats and this error happens:

Error: package or namespace load failed for ‘easystats’: .onAttach failed in attachNamespace() for 'easystats', details: call: value[[3L]](cond) error: Package ‘insight’ version 0.18.6 cannot be unloaded: Error in unloadNamespace(package) : namespace ‘insight’ is imported by ‘effectsize’, ‘datawizard’, ‘sjPlot’, ‘performance’, ‘sjlabelled’, ‘sjmisc’, ‘bayestestR’, ‘sjstats’, ‘parameters’ so cannot be unloaded

of course i did easystats::install_latest

I dont know what else to do if you can point me in the right direction

strengejacke commented 1 year ago

I would try:

That should in theory work. Don't run any library() command between those steps above.

andreoulios commented 1 year ago

Thank you very much this worked :D