Send result of R expressions to a Slack channel via webhook API
Send result of R expressions to a Slack channel via webhook API
Takes an expr, evaluates it and sends the output to a Slack chat destination via the webhook API. Useful for logging, messaging on long compute tasks or general information sharing.
incoming_webhook_url: which slack.com API endpoint URL to use (see section Webhook URLs for details).
Details
By default, everything but expr will be looked for in a "SLACK_" environment variable. You can override or just specify these values directly instead, but it's probably better to call slackr_setup() first.