We just started last week with using stack to keep up with our community. I am looking for a way to easy monitor the user statistics, possibilities to post some results from r and maybe make an easy notification tool for new members or even a bot that sent welcome messages to new members.
I read a lot about the stackr package, but I cannot find any clear examples of how to make that connection from r with stack.
I think even the connection I made did fail, but I am not getting any errors that are helpful.
This is the code I have so far:
library(slackr)
slackr_setup(channel = "#testchannel", username = "slackr", icon_emoji = "",
incoming_webhook_url = "https://OURWORKSPACE.slack.com/services/hooks/incoming-webhook?", api_token = "", config_file = "~/.slackr",
echo = FALSE)
and
slackr("Hello", channel = "#testchannel", username = "slackr", icon_emoji = "",
incoming_webhook_url = "https://OURWORKSPACE.slack.com/services/hooks/incoming-webhook?", api_token = "", config_file = "~/.slackr",
echo = FALSE)
After running those two steps, I receive the error:
Error: No token specified. Did you forget to call slackr_setup()?
Is there anyone that has clear examples or can help me get started to make the connection between r and stack?