pkg_paste()
retrieve copied R package information through the
download code generated by pkg_copy()
. It then compares it with the
package information in the current environment. If it detects any new
packages, it will attempt to install them and report any packages that
cannot be installed. pkg_paste_names()
does not attempt to install
packages, in case people want to revise the list before installation.
This function should be run in the new/target environment.
1 2 3 | pkg_paste(code, lib.loc = NULL, ...)
pkg_paste_names(code, lib.loc = NULL)
|
code |
Download code returned by |
lib.loc |
Library Location. It's an argument passed to
|
... |
Arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.