tests/testthat/test-check_inputs.R

test_that("checks on ticker and simfin_id are not too strict", {
  skip("Very slow")

  entities <- sfa_get_entities()

  checkmate::expect_data_table(
    sfa_get_info(simfin_id = entities[["simfin_id"]])
  )
  checkmate::expect_data_table(
    sfa_get_info(ticker = entities[["ticker"]])
  )
})

Try the simfinapi package in your browser

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

simfinapi documentation built on April 14, 2023, 12:27 a.m.