After updating to new R version (4.5) from old version, you have to re-install all packages by default. However, there’re some solution for that.
Unix (MacOs, Linux) 1.Create a new folder in home directory to store the packages. Sometimes, you need to change the permission level for this folder, or R may not have access to write this folder. Rlibs is a special folder where you can store all you packages.