tests/testthat/test-01_zzz.R

test_that(".onLoad sets options appropriately", {
  .onLoad()
  expect_false(getOption("gptstudio.valid_api"))
  expect_null(getOption("gptstudio.openai_key"))
})

Try the gptstudio package in your browser

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

gptstudio documentation built on May 29, 2024, 12:30 p.m.