is_installed | R Documentation |
Determines if the specified package is installed.
is_installed(pkgname)
pkgname |
Name of package |
Logical indicating if the packages is installed or not
# This package should exist
is_installed('digest')
# This package should not exist
is_installed('bad package name')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.