if (FALSE) {
## load/refresh existing credentials, if available
## otherwise, go to browser for authentication and authorization
ryt_auth()
## force use of a token associated with a specific email
ryt_auth(email = "yourname@example.com")
## force a menu where you can choose from existing tokens or
## choose to get a new one
ryt_auth(email = NA)
## -----------------------
## use own OAuth client app
ryt_auth_configure(
path = "path/to/your/oauth_client.json"
)
ryt_auth(email = "yourname@example.com")
}
Run the code above in your browser using DataLab