slackr_setup(echo = TRUE, channel = "#mychannel", incoming_webhook_url = "XXXX", bot_user_oauth_token = "xoxb-XXXX") and had no issues using functions like slackr and slackr_msg. However, when I attempted to run slackr_upload("filename", channels = "#mychannel", bot_user_oauth_token = "xoxb-XXXX"), it appeared to run fine, but with no output (no file upload) and no error.
I discovered that removing the oauth_token from the slackr_upload command fixed the issue:
Following all initial directions, I ran
slackr_setup(echo = TRUE, channel = "#mychannel", incoming_webhook_url = "XXXX", bot_user_oauth_token = "xoxb-XXXX") and had no issues using functions like slackr and slackr_msg. However, when I attempted to run slackr_upload("filename", channels = "#mychannel", bot_user_oauth_token = "xoxb-XXXX"), it appeared to run fine, but with no output (no file upload) and no error.
I discovered that removing the oauth_token from the slackr_upload command fixed the issue:
slackr_upload("filename", channels = "#mychannel")