See strex::str_can_be_numeric().
strex::str_can_be_numeric()
can_be_numeric(string)
string
A character vector.