View source: R/notifications.R
new_PushbulletNotifier | R Documentation |
Constructs a notifier object for sending messages via Pushbullet. This requires a
Pushbullet account, the Pushbullet application installed on both a mobile device
and computer, and a properly configured JSON file (typically ~/.rpushbullet.json
,
using RPushbullet::pbSetup()
).
new_PushbulletNotifier(
config_path = "~/.rpushbullet.json",
verbose_issues = FALSE
)
config_path |
A character string specifying the path to the Pushbullet configuration file.
Defaults to |
verbose_issues |
Logical. If |
To use RPushbullet
in SimDesign
, create a PushbulletNotifier
object using new_PushbulletNotifier()
and pass it to the notifier
argument in runSimulation()
.
An S3 object of class "PushbulletNotifier"
and "Notifier"
.
# Create a Pushbullet notifier (requires a valid configuration file)
pushbullet_notifier <- new_PushbulletNotifier(verbose_issues = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.