You can get / check your packages library tree with
.libPaths(). If you install packages without specifying a location, they are installed at the first element of
.libPaths(). When a newer version of the package is installed, the old version is completely wiped out, and no recovery of the old version is possible. Your only chance of recovering the old data is if the newer version has been installed at a different location at the packages library tree. For example, in my computer:
 "/home/h.mon/R/x86_64-pc-linux-gnu-library/3.5"  "/usr/local/lib/R/site-library"  "/usr/lib/R/site-library"  "/usr/lib/R/library"
So there are four possible places to search for the old package. Anyway, it is unlikely the package will be at a different location than your personal R library (the one at your /home folder), the "/usr/local" and "/usr/lib" are system-wide installs and need administrator privilege.