tests/testthat/test-plot_ggplot.R

dat <- data.frame(start = c("2019-01-01 00:00", "2019-01-01 04:00"),
                  end = c("2019-01-01 05:00", "2019-01-05 06:00"),
                  event = 1:2)


test_that("class is ggplot", {
    expect_s3_class(gg_vistime(dat), "ggplot")
})
shosaco/vistime documentation built on March 30, 2024, 1:49 a.m.