Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Setting up the single-channel bot is simple.
slackr_setup(channel = '#channel_with_webhook', incoming_webhook_url = 'your_webhook')
. You can also follow the config file setup directions below instead of passing the channel and webhook directly.And that's it! You should be able to post a message with slackr_bot('test message')
library(slackr) slackr_setup() slackr_bot('Test message', channel = '#test', username = 'mrkaye97', icon_emoji = 'tada')
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.