Skip to contents

Will check the `SBTOOLS_TOKEN_STACHE` environment variable and will check if the `token_stache_path` has been set durring the current session previously. If the environment variable or session-variable are not found, returns `file.path(tools::R_user_dir(package = "sbtools"), "token")`.

Usage

token_stache_path(dir = NULL)

Arguments

dir

path of desired token stache file. See description for behavior if left unset.

Value

character path of data directory (silent when setting)