email_address

0th

Percentile

Email address of the current user

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

Aliases
  • email_address
Examples
# NOT RUN {
email_address()
# }
Documentation reproduced from package whoami, version 1.1.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.