if (FALSE) {
# using `create_config_file()` after `slackr_setup()`
create_config_file()
# using `create_config_file()` before `slackr_setup()`
create_config_file(
token = "xox-",
incoming_webhook_url = "https://hooks-",
channel = "#general",
username = "slackr",
icon_emoji = "tada"
)
slackr_setup()
}
Run the code above in your browser using DataLab