Skip to content

Commit

Permalink
caching back in now googleAuthR 0.6.0 is live
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed Oct 20, 2017
1 parent 1357061 commit 6e99ef6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions R/options.R
Expand Up @@ -40,14 +40,14 @@

default_project_message()

# f <- function(req){
# if(!is.null(req$content$reports)){
# return(TRUE)
# } else {
# return(FALSE)
# }}
#googleAuthR::gar_cache_setup(invalid_func = f)
f <- function(req){
if(!is.null(req$content$reports)){
return(TRUE)
} else {
return(FALSE)
}}

googleAuthR::gar_cache_setup(invalid_func = f)

invisible()

Expand Down

0 comments on commit 6e99ef6

Please sign in to comment.