new_PushbulletNotifier: Create a Pushbullet Notifier

View source: R/notifications.R

new_PushbulletNotifierR 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 "~/.rpushbullet.json".

verbose_issues

Logical. If TRUE, includes detailed information about warnings and errors in notifications. Default is FALSE.

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)


SimDesign documentation built on April 3, 2025, 6:06 p.m.