topepo / caret

caret (Classification And Regression Training) R package that contains misc functions for training and plotting classification and regression models
http://topepo.github.io/caret/index.html
1.6k stars 635 forks source link

pROC library not loaded and thus glm model won't run. #233

Closed yina closed 8 years ago

yina commented 8 years ago

Posted a stackoverflow question here.

http://stackoverflow.com/questions/32292908/glm-with-caret-package-producing-missing-values-in-resampled-performance-measur/32292948#32292948

Maybe I'm doing something simple that is not correct, but once pROC was loaded, everything worked as expected.

I am using v6.0-52 of caret.

topepo commented 8 years ago

You should install using

install.packages("caret", dependencies = c("Imports", "Depends", "Suggests"))

That gets most of the default packages. If there are specific modeling packages that are missing, the code usually prompts you to install them.