new_PushbulletNotifier {SimDesign} | R Documentation |
Create a Pushbullet Notifier
Description
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()
).
Usage
new_PushbulletNotifier(
config_path = "~/.rpushbullet.json",
verbose_issues = FALSE
)
Arguments
config_path |
A character string specifying the path to the Pushbullet configuration file.
Defaults to |
verbose_issues |
Logical. If |
Details
To use RPushbullet
in SimDesign
, create a PushbulletNotifier
object using new_PushbulletNotifier()
and pass it to the notifier
argument in runSimulation()
.
Value
An S3 object of class "PushbulletNotifier"
and "Notifier"
.
Examples
# Create a Pushbullet notifier (requires a valid configuration file)
pushbullet_notifier <- new_PushbulletNotifier(verbose_issues = TRUE)
[Package SimDesign version 2.19.2 Index]