check-vector-isInstalled: Is the package installed?

check-vector-isInstalledR Documentation

Is the package installed?

Description

Is the package installed?

Usage

isInstalled(x, lib = NULL)

allAreInstalled(x, lib = NULL)

Arguments

x

Object.

lib

character(1) or NULL. R library location. If left NULL, includes all known library paths defined in .libPaths.

Value

TRUE on success; FALSE on failure, with cause set.

Functions

  • isInstalled(): Vectorized.

  • allAreInstalled(): Scalar.

Note

Updated 2023-09-29.

Examples

## TRUE ====
isInstalled(c("base", "utils"))

## FALSE ====
isInstalled(c("AAA", "BBB"))

acidgenomics/goalie documentation built on Dec. 11, 2023, 11:36 p.m.