Skip to content

Commit

Permalink
Handle blank sheet_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McPherson committed Dec 12, 2022
1 parent 98ab878 commit eeb2fe7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/usertracking.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
#' }
#'
set_user_tracking <- function(google_email, sheet_id, session) {
if (sheet_id == "") {
return(invisible())
}

googlesheets4::gs4_auth(
email = google_email,
cache = ".secret/"
Expand Down

0 comments on commit eeb2fe7

Please sign in to comment.