load failed for ‘semPlot’

Hello, I got this error message:

library(semPlot)
Error: package or namespace load failed for ‘semPlot’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘zip’

I don't know what's going on. Please help.

The error message is self-explanatory, it is looking for a package dependency (the zip package) and is not finding it, so you have to install that package.

install.packages("zip")

Thank you so much! It works. Great!