Split a compound address object

cleave(addr)

Arguments

addr

An address object.

Value

A list of address objects, each of which contains only a single address.

Examples

cleave(as.address(c("foo@yahoo.com", "bar@yahoo.com")))
#> [[1]]
#> [1] "foo@yahoo.com"
#> 
#> [[2]]
#> [1] "bar@yahoo.com"
#>