Convert email to HTML email Tag

Usage

EM(email = "clipboard", text = NULL, new_win = TRUE, copy2clip = interactive(), print = FALSE)

Arguments

email
A character vector email copied to the clipboard. Default is to read from the clipboard.
text
A character vector of text to hyperref from. Defualt uses the string passed to email.
new_win
logical. If TRUE the link will open in a new window.
copy2clip
logical. If TRUE attempts to copy the output to the clipboard.
print
logical. If TRUE cat prints the output to the console. If FALSE returns to the console.

Value

Returns a character vector of an HTML email tag.

Description

Wrap an email to generate an HTML email tag.

Examples

EM("tyler.rinker@gmail.com", print = TRUE)