set_configuration: Configure Environment

Description Usage Arguments Value See Also

View source: R/config_helpers.R

Description

These functions are used specifically for their side effects – namely to set (or reset) authentication secrets and configuration details stored in options().

Usage

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()

Arguments

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

Value

Returns TRUE (invisibly) if options were successfully set or reset.

See Also

PhilipsHue::set_bridge_credentials()

DarkSky::set_dark_sky_credentials()


fascinatingfingers/zeitgebeR documentation built on Oct. 25, 2019, 4:50 p.m.