R/utils.R
ret_err.Rd
Raise an Error but Return a Value
ret_err(x, msg)
value to return
error message to raise
x, with an error
x
Other helpers: add_n(), ret_null(), sleep_for(), square(), timestwo()
add_n()
ret_null()
sleep_for()
square()
timestwo()