Return value for XDG_DATA_HOME as defined by the XDG Base Directory Specification
Usage
xdg_data_home(sep = "/", fallback = normalizePath(getwd(), winslash = sep))Value
The following algorithm is used to determine the returned path:
If environment variable (EV)
$XDG_DATA_HOMEexists, return its valueElse, if EV
$HOMEexists, return$HOME/.local/shareElse, if EV
$USERPROFILEexists, return$USERPROFILE/.local/shareElse, return
$fallback