validate_range_core: Core range validation with multiple strategies

View source: R/11.0-core-validators.R

validate_range_coreR Documentation

Core range validation with multiple strategies

Description

Validates that numeric values fall within specified ranges. Supports different strategies for handling out-of-range values.

Usage

validate_range_core(
  value,
  param_name,
  min_val = NULL,
  max_val = NULL,
  strategy = "strict",
  default_value = NULL,
  skip_mask = NULL
)

Arguments

value

Numeric value(s) to validate

param_name

Parameter name for messages

min_val

Minimum allowed value

max_val

Maximum allowed value

strategy

Handling strategy for out-of-range values

default_value

Default value for replacement

skip_mask

Logical mask of values to skip validation

Value

Validation result


fb4package documentation built on May 8, 2026, 1:07 a.m.