Closed howardbaik closed 10 months ago
Ah yes. Sorry I forgot to answer you in this. I think I've addressed the inconsistency on this other branch but it's not yet on a PR
When I get that pull request up, you can review to see if it addresses the inconsistencies you are seeing and then we can close this issue after that PR gets merged.
@cansavvy I'm confused as to why the
set_token()
is settingoptions(google = token)
on line 17 and when we actually get the stored token inget_stored_token()
, we use the .RDS file instead of using the options that we set.This confusion comes from adding
withr::local_options()
here and realizing that I can't usewithr::local_options()
for the Google Analytics functions because the token is stored in an RDS file, instead of an option.