checkPackageInstalled {AnalysisPageServer} | R Documentation

## Checks if a given package is installed.

### Description

Checks if a given package is installed.

### Usage

    checkPackageInstalled(pkg, version = "0.0.0", required = FALSE)

### Arguments

`pkg` | A character string containing a package name.
`version` | A minimum version number. Default: "0.0.0" (no version requirement)
`required` | A boolean. The functions stops if set to `TRUE` and if the required package is not present. Default is `FALSE`.

### Value

A boolean.

### Author(s)

Cory Barr

### Examples

    checkPackageInstalled("AnalysisPageServer")

[Package AnalysisPageServer version 1.20.0 Index]