Return value for XDG_CONFIG_HOME as defined by the XDG Base Directory Specification
Usage
xdg_config_home(sep = "/", fallback = normalizePath(getwd(), winslash = sep))
Value
The following algorithm is used to determine the returned path:
If environment variable (EV)
XDG_CONFIG_HOME
exists, return its valueElse, if EV
HOME
exists, return$HOME/.config
Else, if EV
USERPROFILE
exists, return$USERPROFILE/.config
Else, return
$fallback