README.md

lineNotify

lineNotify - a package to send message to LINE using LINE Notify

Overview

Installation

devtools::install_github("fisproject/lineNotify")

Usage

library(lineNotify)

Sys.setenv(LINE_API_TOKEN="Your-Personal-Access-Token")

# send a message
notify_msg("hello world")

# send a image
plot(iris)
notify_plot("Plotting the Iris")

# send a ggplot object
library(ggplot2)
data(iris)
p <- ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length)) +
 geom_point()
notify_ggplot("Plotting the Iris", plot = p)


fisproject/lineNotify documentation built on May 17, 2019, 11:14 p.m.