tests/testthat/helper04_activate-test-token.R

## puts the test token into force

activate_test_token <- function(rds_file = test_path("googlesheets_token.rds")) {
  suppressMessages(
    gs_auth(token = rds_file, verbose = FALSE)
  )
}

Try the googlesheets package in your browser

Any scripts or data that you put into this service are public.

googlesheets documentation built on May 2, 2019, 1:57 p.m.