I try to install the package "caret" inside the R software version 3.6.3. I used the follow script:
R_code<- install.packages ('caret',dependencies=c('Depends','Suggests')
Inside the Console, appeared this message: " Installing package into "C:/......" (as. 'lib' is unspecified). Warning in istall.packages: dependencies 'fastICA', 'randomForest' are not available. Also installing the dependencies 'modeldata', 'themis'. Appear the question "Do you want to install from sources the package which need compilation?" I choose Yes. If after the instalaltion I run the library caret, the load failed. I did not understand where is the problem.