R/stop_non.R
stop_not_positive.Rd
Error function to stop the function if the value entered is (or is below) zero
stop_not_positive(value_entered)
The value to be error-checked by the function
if (FALSE) { stop_not_positive(value_entered = age) }