Specialized validator for temperature values with realistic ranges.
Usage
validate_temperature(
value,
param_name,
strategy = "warn",
min_temp = -5,
max_temp = 45
)
Arguments
- value
Temperature value(s) in Celsius
- param_name
Parameter name
- strategy
Handling strategy
- min_temp
Minimum realistic temperature (default -5°C)
- max_temp
Maximum realistic temperature (default 45°C)