powered by
Determines if the specified package is installed.
is_installed(pkgname)
Logical indicating if the packages is installed or not
Name of package
# This package should exist is_installed('digest') # This package should not exist is_installed('bad package name')
Run the code above in your browser using DataLab