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 Jan. 3, 2022, 5:09 p.m.