Validate email address
validate(addr, deliverability = TRUE)
An email address.
Whether to check for deliverability (valid domain).
A logical
indicating whether or not the address is valid.
# A valid address.
validate("cran-sysadmin@r-project.org")
#> [1] TRUE
# An invalid address.
validate("help@this-domain-does-not-exist.com")
#> [1] FALSE