Learn R Programming

yulab.utils (version 0.2.2)

check_packages: Check if required packages are installed with informative errors

Description

Enhanced package checking with better error messages and validation

Usage

check_packages(packages, reason = "for this functionality")

Value

Invisible TRUE if all packages are available, throws error otherwise

Arguments

packages

Character vector of package names

reason

Reason why these packages are needed