Installed car package, library(car) will not work

I have been able to successfully download the "car" package, however when I try to activate it using the library(car), I get the following error message:

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

I'm trying to do the leveneTest for a school assignment so any help y'all could give me would be greatly appreciated. Thanks.

You are missing a package dependency, try installing it

install.packages("forcats")

Thank you so much! I thought I had tried that, but I guess I didn't do it right or something

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