tests/testthat/test-get_financial_distress.R

test_that("Financial Distress check", {
  df <- data.frame("symbol" = "AAPL")
  financial_distress <- quant::get_financial_distress(df)
  testthat::expect_equal(dim(financial_distress), c(1,2))
})
OliverHennhoefer/stockR documentation built on Sept. 14, 2022, 4:15 p.m.