library(ggplot2) error please help

Can anyone tell me why I get this error after trying to load the functions from the ggplot2 package? I've already successfully installed it with the install.packages functions and did not use quotes in the library function.

library(ggplot2)
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 ‘vctrs’

You are missing this package dependency, try installing it

install.packages("vctrs")

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

That worked, thank you!