check_pkg | R Documentation |
Check whether the input packages are installed
check_pkg(pkg, reason = NULL, ...)
pkg |
package names |
reason |
the reason to check the pkg. If NULL, it will set the reason to the parent call. |
... |
additional parameters that passed to |
This function check whether the input packages are installed. If not, it asks the user whether to install the missing packages.
see also check_installed
Guangchuang Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.