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/r-goalie documentation built on Jan. 12, 2024, 4:15 a.m.