Installing ggplot

Hi, I am wondering if anyone with a similar issue can help. I tried googling to find an answer but the solutions that I tried did not work. This is the error message:

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

Hi @Nickbaron!

Would you be able to post the code that you are running to get this error message?

My guess is that ggplot is trying to use the lifecycle package to check on some things (package requirements, etc.) while it downloads. It would appear you need to install the lifecycle package before continuing.


Maybe give that a shot?