PTBoxProxydata_reload_config | R Documentation |
Reload the configuration for the PTBoxProxydata package
PTBoxProxydata_reload_config( config_path = get("CONFIG_PATH", .PTBoxProxydata), config = Sys.info()[["nodename"]] )
config_path |
path of the changed new or old '.yml' file containing the configuration. See Warning. |
config |
configuration to load from the '.yml' file provided in |
no return
Be careful when changing the default configuration of PTBoxProxydata. This may turn your package instance to be unable to read the Master Spreadsheet temporarily.
If you made changes to the default configuration file, config_path
doesn't have to be supplied. However, it is recommended to test changes with a
custom configuration file first before changing the configuration at it's native location. See vignette('how-to-use-sdm')
as well.
If config
is not provided or config = 'default'
, will load the configuration tagged with 'default' in the config file.
If custom config is provided but not complete, will always expand config with 'default' configuration from config file. Be careful when changing the 'default'
configuration for your package instance (See Warning and vignette('PTBoxProxydata_howto')
).
PTBoxProxydata_print_config, PTBoxProxydata_print_config_path
## Not run: # print current config path PTBoxProxydata_print_config_path() # set a config file new_config_file <- 'my/new/config/path/PTBoxProxydata-config.yml' PTBoxProxydata_reload_config(config_path = new_config_file, config = 'my_machine') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.