This function is used internally to determine whether the package is compiled in source or package directory.
getDataDir()