Closed trebi closed 9 years ago
This doesn't have anything to do with caret
; gtable
is required by ggplot2
and didn't get installed.
install.packages
has an argument called dependencies
that will fix this. Try using:
install.packages(pkgs = "caret",
dependencies = c("Depends", "Imports"))
It seems install.packages(pkgs = "caret", dependencies = c("Depends", "Imports"))
didn't solve the problem.
ERROR: dependency ‘car’ is not available for package ‘caret’ is displayed.
After I execute
install.packages('caret')
on fresh installation of R 3.2.0 and RStudio 0.98.1103 on Windows 7 x64, some dependences did not get installed and I need to install them manually afterwards withinstall.packages("ggplot2", "stringr", "munsell", "BradleyTerry2", "minqa", "nloptr")
Here is R console output: