Check whether packages are installed

is.installed(packages)

Arguments

packages

package names

Value

logical vector

Author

Guangchuang Yu

Examples

is.installed(c("dplyr", "ggplot2"))
#>   dplyr ggplot2 
#>   FALSE   FALSE