You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oauth_service_token's documentation on its scope argument is
a character vector of scopes to request.
The function actually only allows a length 1 character vector.
if (!is.null(scope) && !(is.character(scope) && length(scope) == 1))
stop("`scope` must be a length 1 character vector.", call. = FALSE)
I don't know why it only accepts length 1 character vector, but if that's the case, the function documentation should state the requirement explicitly.
Also, it turns out that user can collapse a list of scopes by spaces and supply the collapsed string to scope. This feature is not documented anywhere and is hard to discover.
The text was updated successfully, but these errors were encountered:
oauth_service_token
's documentation on itsscope
argument isThe function actually only allows a length 1 character vector.
I don't know why it only accepts length 1 character vector, but if that's the case, the function documentation should state the requirement explicitly.
Also, it turns out that user can collapse a list of scopes by spaces and supply the collapsed string to
scope
. This feature is not documented anywhere and is hard to discover.The text was updated successfully, but these errors were encountered: