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 June 12, 2025, 5:33 p.m.