When I tried loading my caret and my tidyverse package, it runs this error:
Error: package or namespace load failed for ‘tidyverse’ in inDL(x, as.logical(local), as.logical(now), ...):
ICU init failed: U_FILE_ACCESS_ERROR
Error: package or namespace load failed for ‘caret’ in inDL(x, as.logical(local), as.logical(now), ...):
ICU init failed: U_FILE_ACCESS_ERROR
I have tried reinstalling the packages, restarting my RStudio, updating my R, and deleting the source file of where the packages are downloaded and redownloading the packages. The last thing I haven't done is uninstalled and reinstalled R and RStudio. Is there any other steps I could do before I do this?
A new session, in RStudio is started with menu Session | Restart R. The reason is that under Win, at least, there may be conflicting calls on the underlying dynamic link library.
The caret package has a lot of dependencies (other packages) and they must all be present to work. I can't test this, because I don't have a Wintel box, but this may work, from the RStudio console pane.