tests/testthat/test-huobi.R

test_that('the "huobi_candles" function returns a dataframe', {
  skip_on_cran()
  expect_s3_class(huobi_candles('1day', '200', 'btcusdt'), 'data.frame')
})

Try the cryptotrackr package in your browser

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

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.