Fetch the Slack token using the keyring package (if available), or an environment variable with the same name.
Examples
token <- slack_default_token()
#> Warning: Selecting ‘env’ backend. Secrets are stored in environment variables
nchar(token)
#> [1] 0