tests/testthat/test-onload.R

test_that(
  "works", {
    options("finbif_use_cache" = NULL)
    finbif:::.onLoad()
    expect_type(getOption("finbif_use_cache"), "logical")
  }
)

Try the finbif package in your browser

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

finbif documentation built on Sept. 28, 2023, 5:06 p.m.