powered by
Check if a configuration is valid
pbValidateConf(conf = NULL)
Either a file path (like ~/.rpushbullet.json) or a JSON string. If NULL (the default), the value of getOption("rpushbullet.dotfile") will be used.
~/.rpushbullet.json
NULL
getOption("rpushbullet.dotfile")
TRUE if both the api key and all devices are vaild. FALSE otherwise.
TRUE
FALSE
# NOT RUN { pbValidateConf('{"key":"a_fake_key","devices":["dev_iden1","dev_iden2"]}') # }
Run the code above in your browser using DataLab