tests/testthat/test-aaa.R

test_that("token registered with googlesheets4 and googledrive", {
  skip_if_offline()
  skip_if_no_token()

  expect_true(gs4_has_token())
  expect_true(googledrive::drive_has_token())
})

Try the googlesheets4 package in your browser

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

googlesheets4 documentation built on July 9, 2023, 7:40 p.m.