Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

email_address

Email address of the current user


Description

If uses the EMAIL environment variable, if set. Otherwise it tries to find it in the user's global git configuration.

Usage

email_address(fallback = NULL)

Arguments

fallback

If not NULL then this value is returned if the email address cannot be found, instead of triggering an error.

Value

Email address on success. Otherwise an error is thrown.

See Also

Other user names: fullname, gh_username, username, whoami

Examples

## Not run: 
email_address()

## End(Not run)

whoami

Username, Full Name, Email Address, 'GitHub' Username of the Current User

v1.3.0
MIT + file LICENSE
Authors
Gábor Csárdi [aut, cre], Maëlle Salmon [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.