fd_update_settings: Manually Update the Settings

View source: R/gen-functions.R

fd_update_settingsR Documentation

Manually Update the Settings

Description

Source the settings-list as defined in the settings.R file and create the object 'stn' in its environment. The settings-file system is based on functionality from package uniset.

Usage

fd_update_settings(silent = FALSE)

Arguments

silent

Logical

Value

A list holding key-value pairs as defined in the 'flowdex_settings.R' file.

See Also

Other Setup functions: setup_settings()

Examples

assign("get_settings_from_flowdex_package_root", TRUE, pos=.GlobalEnv)
# only required to make the examples run automatically
# you should not call 'assign' if you run the examples manually
# the effect of setting 'get_settings_from_flowdex_package_root' to TRUE
# is that the file 'flowdex_settings.R' in 'root' of the installed package
# 'flowdex' will be sourced instead of the one in the user-defined location.
#
stn <- fd_update_settings()
str(stn)

bpollner/flowdex documentation built on March 31, 2022, 3:21 a.m.