Tidyverse Installed in win-library but not loading.

Error: package or namespace load failed for ‘tidyverse’ in get0(".packageName", env, inherits = FALSE):
cannot open file 'C:/Users/emo/AppData/Local/R/win-library/4.2/DBI/R/DBI.rdb': No such file or directory

I have done everything possible read through all previous post, still no solution.

The package is installed, but it's not loading.

I used .libPaths()
what I got is this
[1] "C:/Users/emo/AppData/Local/R/win-library/4.2" (I can see the installed folder here)
[2] "C:/Program Files/R/R-4.2.2/library"

The problem seems to be in the DBI package. Have you tried updating that package?