Skip to contents

Reveals information about the user associated with the current token. This is a thin wrapper around drive_about() that just extracts the most useful information (the information on current user) and prints it nicely.

Usage

drive_user()

Value

A list of class drive_user.

Examples

if (FALSE) { # drive_has_token()
drive_user()

# more info is returned than is printed
user <- drive_user()
str(user)
}