compliant {emayili} | R Documentation |
Tests whether an email address is syntactically correct
Description
Checks whether an email address conforms to the syntax rules.
Usage
compliant(addr, error = FALSE)
Arguments
addr |
An email address. |
error |
Whether to create an error if not compliant. |
Details
An email address may take either of the following forms:
-
local@domain
or -
Display Name <local@domain>
.
Value
A Boolean.
Examples
compliant("alice@example.com")
compliant("alice?example.com")
[Package emayili version 0.9.1 Index]