Description Usage Arguments Value See Also
View source: R/config_helpers.R
These functions are used specifically for their side effects – namely to
set (or reset) authentication secrets and configuration details stored in
options()
.
1 2 3 4 5 | set_configuration(hue_bridge_ip, hue_username, darksky_key, lat, lon,
hue_storage_path = "data/state",
darksky_storage_path = "data/weather")
reset_configuration()
|
hue_bridge_ip |
the IP address of your Hue Bridge |
hue_username |
the username with access to your Hue Bridge |
darksky_key |
Dark Sky secret key |
lat |
latitude (in decimal degrees). Positive north; negative south. |
lon |
longitude (in decimal degrees). Positive east; negative west. |
hue_storage_path |
path to directory where Hue training data are stored |
darksky_storage_path |
path to directory where Dark Sky weather data are stored |
Returns TRUE
(invisibly) if options were successfully set or
reset.
PhilipsHue::set_bridge_credentials()
DarkSky::set_dark_sky_credentials()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.