client_setup_default function

Set up default client

Set up default client

You'll need to run this function once per computer so that rtweet can use your client.

client_has_default() client_setup_default()

Returns

client_setup_default(): Invisibly returns the previous authentication mechanism. client_has_default(): A logical value TRUE if there is a default authentication.

Details

It will use the current default account for rtweet and save them as "rtweet". If a default is found it will use it instead.

Examples

## Not run: if (!client_has_default()) { client_setup_default() } ## End(Not run)

See Also

Other client: client_as(), client_get(), client_save()

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24