tests/testthat/test-gantt.R

library(googlesheets4)

test_that("get a dataframe", {
  expect_type(wrangle_gantt_dat(), "list")
})

test_that("get a plot", {
  expect_s3_class(pandan_gantt(gantt_df), "ggplot")
})
softloud/pandan documentation built on July 22, 2023, 6:45 p.m.