tests/testthat/test-onLoad.R

context("on load")

test_that("options are created", {

  expect_silent(googleway:::.onLoad())
  expect_true(is.list(getOption("googleway")))
  expect_true(length(getOption("googleway")[['google']]) == 14)

})

Try the googleway package in your browser

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

googleway documentation built on Aug. 22, 2023, 9:13 a.m.