Packrat's main task is around library management, which pkg currently does not do. We are actively working on a complimentary package to pkg do handle library management, stay tuned! The package is not quite ready for public testing, but you can follow RStudio's GitHub repo, and I'll make a not to announce the public beta here.