tests/testthat/test-kucoin.R

test_that('the "kucoin_time" function returns a character', {
  skip_on_cran()
  expect_type(kucoin_time(), 'character')
})

test_that('the "kucoin_symbols_list" function returns a dataframe', {
  skip_on_cran()
  expect_s3_class(kucoin_symbols_list('btc'), '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.