A small wrapper function to determine whether a package namespace can be
loaded via base::requireNamespace() without attaching the package.
Value
A logical scalar:
TRUE: The package is installed and its namespace can be loaded.FALSE: The package is not installed or its namespace cannot be loaded.
Details
The supplied package name is first validated to be a non-missing,
non-empty character scalar, then base::requireNamespace() is called with
quietly = TRUE.
