Creates a custom error condition created with rlang::abort() with a - hopefully - more useful error message and metadata.

abort_package_not_installed(package)

Arguments

package

A character string with the required package name.

Value

Returns an error condition of classerror_package_not_installed.

See also