Turn a googleAuthR data fetch function into a Shiny compatible one

with_shiny(f, shiny_access_token = NULL, ...)

Arguments

f

A function generated by googleAuth_fetch_generator.

shiny_access_token

A reactive object that resolves to a token.

...

Other arguments passed to f.

Value

the function f with an extra parameter, shiny_access_token=NULL.

Examples