abort_package_not_installed: Abort if required package is not installed

View source: R/abort.R

abort_package_not_installedR Documentation

Abort if required package is not installed

Description

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

Usage

abort_package_not_installed(package)

Arguments

package

A character string with the required package name.

Value

Returns an error condition of class error_package_not_installed.

See Also

abort_argument_type(), abort_argument_class(), abort_argument_length(), abort_argument_diff_length(), abort_column_not_found(), abort_no_method_for_class()


lvmisc documentation built on June 22, 2024, 12:18 p.m.