README-not.md

addressable

R-CMD-check codecov

Email Address Validation

Install

remotes::install_github("ropensci/addressable@main")
library("addressable")

Address

x <- Address$new("User+tag@example.com")
x$host$host_name
#> [1] "example.com"
x$local$local
#> [1] "user+tag"
x$valid()
#> [1] TRUE
x$fail()
#> NULL
x <- Address$new("user1")
x$valid()
#> [1] FALSE
x$fail()
#> [1] "Invalid Domain Name"

Meta



ropenscilabs/addressable documentation built on Sept. 13, 2022, 11:32 p.m.