Learn R Programming

lvmisc (version 0.1.2)

check_package: Checks whether a package is installed

Description

Checks whether a package is installed

Usage

check_package(x)

Value

If all packages in x are installed, returns TRUE, if not, returns the name of the non-installed package(s).

Arguments

x

A character string with the package name