R/slack.R
slack_post.Rd
Post a message to the GitHub Slack channel
slack_post(message, webhook = Sys.getenv("SLACK_GITHUB_WEBHOOK"))
One nonempty character string.
Incoming webhook for the GitHub Slack channel. Defaults to the SLACK_GITHUB_WEBHOOK environment variable.
SLACK_GITHUB_WEBHOOK
NULL, invisibly. Stops if Slack rejects the message.
NULL
if (FALSE) { # \dontrun{ slack_post("Production documentation build failed.") } # }