R/escalate_warning.R
escalate_warning.Rd
Uses the rlang::abort() function to escalate a warning message into an Error to prevent code from running any further.
rlang::abort()
escalate_warning(w)
a warning object (which has a message inside it)