Validates that the upper and lower limits are numeric and that the upper limit is greater than the lower limit.
validate_sample_size_limits(lower, upper)
NULL. If the checks pass, the function returns nothing. If the checks fail, it stops execution with an error message.