tests/testthat/test_compenginets.R

context("compenginets")

test_that("get_cets returns list of time series", {
  expect_equal(length(get_cets("finance")), 100L)
})


test_that("category with spaces", {
  expect_equal(length(get_cets("animal sounds", maxpage = 1)), 10L)
})
robjhyndman/compenginets documentation built on March 2, 2024, 12:33 a.m.