tests/testthat/test-yc.R

test_that('Test of get.yield.curve()',{

  if (!covr::in_covr()) {
    testthat::skip_if_offline()
    testthat::skip_on_cran()
  }

  df_yc <- get.yield.curve()

  expect_true(nrow(df_yc) > 0)
})

Try the GetTDData package in your browser

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

GetTDData documentation built on May 31, 2023, 8:06 p.m.