Learn R Programming

slackr (version 3.3.1)

Send Messages, Images, R Objects and Files to 'Slack' Channels/Users

Description

'Slack' provides a service for teams to collaborate by sharing messages, images, links, files and more. Functions are provided that make it possible to interact with the 'Slack' platform 'API'. When you need to share information or data from R, rather than resort to copy/ paste in e-mails or other services like 'Skype' , you can use this package to send well-formatted output from multiple R objects and expressions to all teammates at the same time with little effort. You can also send images from the current graphics device, R objects, and upload files.

Copy Link

Version

Install

install.packages('slackr')

Monthly Downloads

51,461

Version

3.3.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 26th, 2023

Functions in slackr (3.3.1)

slackr_save

Save R objects to an RData file on Slack
slackr_setup

Setup environment variables for Slack API access
slackr_msg

Sends a message to a slack channel.
slackr_teardown

Unset env vars created by slackr_setup()
slackr_chtrans

Translate vector of channel names to channel IDs for API
slackr_ims

Get a data frame of Slack IM ids
slackr_history

Reads history of a channel.
slackr_delete

slackr_delete
slackr_dev

Send the graphics contents of the current device to a Slack channel
slackr_csv

Send a data frame to Slack as a CSV
with_pagination

Calls the slack API with pagination using cursors.
slackr_users

Get a data frame of Slack users
slackr_upload

Send a file to Slack
slackr_tex

Post a tex output to a Slack channel
warn_for_args

Check for token-parameter mismatches
slackr_channels

Get a data frame of Slack channels
slackr

Output R expressions to a Slack channel/user
call_slack_api

A wrapper function to call the Slack API with authentication and pagination.
ggslackr

Post a ggplot to a Slack channel
slackr_bot

Send result of R expressions to a Slack channel via webhook API
create_config_file

Create the config file used in slackr_setup()
auth_test

Checks authentication & identity against the Slack API.
%>%

Pipe operator
register_onexit

Append slackr_msg as on.exit to functions.
convert_response_to_tibble

Convert Slack API json response to tibble.