abort_column_not_found: Abort based on column not being found in a data frame

View source: R/abort.R

abort_column_not_foundR Documentation

Abort based on column not being found in a data frame

Description

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

Usage

abort_column_not_found(data, col_name)

Arguments

data

A data frame.

col_name

A character vector with the column name.

Value

Returns an error condition of class error_column_not_found.

See Also

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


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