tests/testthat/test-get_financial_strength.R

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