inst/doc/scoped-bot-setup.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----demo2, eval=FALSE--------------------------------------------------------
#  library(slackr)
#  slackr_setup(
#    channel = "<< channel >>",
#    incoming_webhook_url = "https://hooks.slack.com/services/<< hook >>",
#    token = "xoxb-<< token >>"
#  )
#  
#  slackr(str(iris))
#  
#  # send images
#  library(ggplot2)
#  qplot(mpg, wt, data = mtcars)
#  slackr_dev("#results")
#  
#  barplot(VADeaths)
#  slackr_dev("@jayjacobs")
#  
#  ggslackr(qplot(mpg, wt, data = mtcars))

Try the slackr package in your browser

Any scripts or data that you put into this service are public.

slackr documentation built on March 7, 2023, 8 p.m.