tests/testthat/test-finbif_clear_cache.R

test_that(
  "works", {

    expect_null(finbif_clear_cache())

    options(finbif_cache_path = getwd())

    expect_null(finbif_clear_cache())

    options(finbif_cache_path = NULL)

  }
)

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.