pbValidateConf: Check if a configuration is valid

Description Usage Arguments Value Examples

View source: R/setup.R

Description

Check if a configuration is valid

Usage

1

Arguments

conf

Either a file path (like ~/.rpushbullet.json) or a JSON string. If NULL (the default), the value of getOption("rpushbullet.dotfile") will be used.

Value

TRUE if both the api key and all devices are vaild. FALSE otherwise.

Examples

1
pbValidateConf('{"key":"a_fake_key","devices":["dev_iden1","dev_iden2"]}')

RPushbullet documentation built on March 1, 2021, 5:06 p.m.