Perform the setup of the setting-system provided by package 'uniset'.
Arguments
- path
Character length one, holding the path to the location where the folder containing the settings.R file should be located. Defaults to 'NULL'. If left at the default 'NULL', the location should be selectable interactively.
Value
(Invisible) NULL; is called for its side effects, i.e. to set up the settings-file system as provided by package 'uniset'.
See also
Other Setup functions:
fd_update_settings()
Examples
# \donttest{
where <- path.expand("~")
setup_settings(where)
#> The folder
#> '/Users/bernhard/flowdex_SH'
#> already existed.
#> The file 'flowdex_settings.R' already existed in
#> '/Users/bernhard/flowdex_SH'
#> The variable 'flowdex_SH' already existed in the .Renviron file
#> '/Users/bernhard/.Renviron'
#>
#> The value of 'flowdex_SH' was correctly set to
#> '/Users/bernhard/flowdex_SH'.
#>
#> Setup successful
# }