Webhook channel posting with the slackr package

A client asked me to develop a method to post a recurring message to a particular Slack channel. The slackr package easily enables inbound webhook Slack channel message posting in just a few lines of R.



text_slackr('Any text message you wish to push to the Slack channel goes here.', 

This is the configuration information file referenced in that script:

api_token: <your slack API token>
channel: <name-of-slack-channel>
icon_emoji: :<emoji name>:
username: <you can insert any name here - doesn't have to be a 'real' slack account>