Can't install "ggpmisc"

Hi. I can't instal the package "ggpmisc". actually I can install it but I can't get the library. it gives me this error:
Error: package or namespace load failed for ‘ggpmisc’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘MatrixModels’

I also installed the "MatrixModels" but can't get the library for that either. I have just downloaded the newest version of R studio.

what to do? Thanks - Sofie

You need to install all dependencies of ggpmisc. One good way to do that is with the pak package:

install.packages("pak")
pak::pkg_install("ggpmisc")
1 Like

Thank you, it worked :slight_smile:

1 Like

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.