rvlenth / emmeans

Estimated marginal means
https://rvlenth.github.io/emmeans/
340 stars 30 forks source link

Emmeans package fails to load #468

Closed munizdiezclara closed 4 months ago

munizdiezclara commented 4 months ago

When trying to load emmeans with library(emmeans) the following bug report appears: Error: package or namespace load failed for ‘emmeans’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘estimability’

Emmeans has been installed in RStudio via CRAN, RStudio version is 2023.12.1 and R version is 4.2.3.

I would like to know how to fix this.

rvlenth commented 4 months ago

This is an issue with your system, not with the emmeans package. The package requires the additional package estimability to be installed on your system, and it is apparently not. To remedy, run the following code from the R console:

install.packages("estimability")

Then after this is complete, you should be able to successfully load emmeans.

munizdiezclara commented 4 months ago

I am very sorry I did not realize. Thank you very much for explaining it.

rvlenth commented 4 months ago

Closing this issue as it is resolved