.libPaths() // You can use this command to chek the default storage location of packages.
.libPaths( "/Users/tex/lib/R" ) //However you can change it and store it in your desired location using the following command where you can edit the location accordingly.