if (FALSE) {
# reads from default file (i.e. ~/.slackr)
slackr_setup()
# reads from alternate config
slackr_setup(config_file = "/path/to/my/slackrconfig")
# the hard way
slackr_setup(
channel = "#code",
incoming_webhook_url = "https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX"
)
}
Run the code above in your browser using DataLab