Caret Package is not loading in R studio

I had used caret package before in r studio but there was no problem in using caret library. Now iam facing with issue below when i load caret. I have also tried updating R studio and caret package but the issue remains same....ANY HELP GUYS???

Loading required package: lattice
Loading required package: ggplot2
Error: package or namespace load failed for ‘caret’ in get(Info[i, 1], envir = env):
cannot open file 'C:/Users/User/Documents/R/win-library/3.6/survival/R/survival.rdb': No such file or directory
In addition: Warning messages:
1: package ‘caret’ was built under R version 3.6.3
2: package ‘ggplot2’ was built under R version 3.6.3

There seems to be a problem with your survival package.

I suggest you re-install survival and try again.

It also seems you're using an older version of R, and that's why you are getting those warning messages about R-3.6.3. You should consider upgrading your version of R as well.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.