Learn R Programming

slackr (version 3.3.1)

auth_test: Checks authentication & identity against the Slack API.

Description

Checks authentication & identity against the Slack API.

Usage

auth_test(token = Sys.getenv("SLACK_TOKEN"))

Arguments

token

Authentication token bearing required scopes.

References

https://api.slack.com/methods/auth.test

Examples

Run this code
if (Sys.getenv("SLACK_TOKEN") != "") {
  auth_test()
}

Run the code above in your browser using DataLab