gar_cache_setup: Setup where to put cache

Description Usage Arguments

View source: R/googleAuthR_memoise.R

Description

To cache to a file system use memoise::cache_filesystem("cache_folder"), suitable for unit testing and works between R sessions.

The cached API calls do not need authentication to be active, but need this function to set caching first.

Usage

1
gar_cache_setup(mcache = memoise::cache_memory())

Arguments

mcache

A cache method from memoise. If NULL will do no caching.


yinscapital/googleAuthR-reference documentation built on May 3, 2019, 4:31 p.m.