test_that("Days Inventory check", {
df <- data.frame("symbol" = "AAPL")
days_inventory <- quant::get_days_inventory(df)
testthat::expect_equal(dim(days_inventory), c(1,7))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.