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

drive_user

Get info on current user


Description

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(verbose = TRUE)

Arguments

verbose

Logical, indicating whether to print informative messages (default TRUE).

Value

A list of class drive_user.

See Also

Wraps the about.get endpoint:

Examples

## Not run: 
drive_user()

## more info is returned than is printed
user <- drive_user()
user[["permissionId"]]

## End(Not run)

googledrive

An Interface to Google Drive

v1.0.1
MIT + file LICENSE
Authors
Lucy D'Agostino McGowan [aut], Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

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