require(testthat)
devtools::load_all("../..")
date.min.barometer <- min(CEOdata()$Data, na.rm = TRUE)
context("Check that the transformations of the barometer produce meaningful dates.")
correct.date <- as.Date("2014-03-02")
test_that("Date of first presential barometer is 02/03/2014", {
expect_identical(correct.date, date.min.barometer)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.