Learn R Programming

yulab.utils (version 0.2.3)

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")

check_pkg(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

See Also

Other validate-utils: check_directory(), check_file(), check_input(), check_range()