check_for: Check if Package is Installed

Description Usage Arguments Value Examples

View source: R/pkg_tools.R

Description

Check if Package is Installed

Usage

1
check_for(pkg, quiet = TRUE)

Arguments

pkg

character. The name of the package to check for.

quiet

logical. Should the function suppress any console messages?

Value

A logical indicating whether the named package was found in the list of installed packages.

Examples

1
2
3
4
5
## Not run: 
    check_for("kittius")
    check_for("dplyr", quiet = FALSE)

## End(Not run)

burch-cm/kittius documentation built on March 11, 2021, 5:40 a.m.