View source: R/gen_functions.R
uniset_updateSettings | R Documentation |
Manually read in the settings-file in the target package settings home directory as specified in the .Renviron file.
uniset_updateSettings(uniset_handover, setupFunc = NULL, silent = FALSE)
uniset_handover |
List length two, containing two elements:
|
setupFunc |
Character length one. The name of the function in the target
package performing the setup, i.e. the name of the function that is
containing the |
silent |
Logical. If a confirmation should be printed. Defaults to 'FALSE' |
This function is called for its side effects, i.e to manually update / (re-)source the settings file. Returns (invisible) 'FALSE' if the update was unsuccessful, otherwise an (invisible) list with the settings sourced from the settings.R file.
This function is meant to be called from within the target package.
Please refer to uniset
for a link to examples
and a real-world demo.
{ ## Not run: # to be called from within the target package uniset_updateSettings(uniset_handover, "dogPack_demo_setup") ## End(Not run) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.