assert_required_argument: Assert Required Argument

View source: R/utils.R

assert_required_argumentR Documentation

Assert Required Argument

Description

Ensures that a required argument is provided. If the argument is missing, it throws an error with a clear message.

Usage

assert_required_argument(arg, description)

Arguments

arg

[any]
The argument to check.

description

[character(1)]
A description of the argument's purpose and requirements.

Value

[NULL]


meantrix/corrp documentation built on April 17, 2025, 7:22 p.m.