I am using
Use the Packrat R package; it has a
bundle method which packs up all the packages (and their dependencies), and an
unbundle method which unpacks them onto the target machine. They go into a private library, too, so they won't stomp on other libraries on your machine.
More here: https://rstudio.github.io/packrat/
Once you've installed Packrat, type
?packrat::bundle for further instructions.