This helps make sure the right functions are mocked

gar_setup_cache(package_name)

Arguments

package_name

The package to cache API calls for

Only functions within the package will be mocked. The options(googleAuthR.mock_test = TRUE) flag will also need to be on.

You can also set the package via options(googleAuthR.mock_package = "yourPackage")