tests/testthat/test-exchanges.R

test_that("list of exchanges", {

  # test relies on calling api (we skip it on cran to save network)
  skip_if_offline()
  skip_on_cran() # too heavy for cran

  skip_if(get_token() == get_demo_token(),
          "Found a test/demo token, which does not allow for listing exchanges")

})

Try the eodhdR2 package in your browser

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

eodhdR2 documentation built on Sept. 13, 2024, 1:07 a.m.