pkg_copy() saves the names of local R packages to a temporary
cloud drive and provides a download code if the process is successful.
The download code can be used in pkg_paste() to re-install packages
in a different environment. This function should be run in the
old/source environment.
Usage
pkg_copy(lib.loc = NULL)
Arguments
lib.loc
Library Location. It's an argument passed to
installed.packages().