there's something i dont understand from Packrat.
i suppose a snapshot is a moment in time for all the library in the project. So when I need to upgrade a package I followed the procedure commented here:
packrat::snapshot() basically saves the state of the Packrat library to the lockfile. If installing that package also implied updating / installing any dependencies, or if those dependencies had changed at some other point in time, then those packages will be updated as well.