.check_package_available: Check Package Availability
Description
Internal function to check if a package is available for loading.
This wrapper around .check_package_available
makes testing easier
by allowing the dependency check to be mocked.
Usage
.check_package_available(pkg)
Value
Logical value: TRUE
if the package is available,
FALSE
otherwise
Arguments
- pkg
Character string specifying the package name to check