tests/testthat/test-show_wqmatrix.R

test_that("Checking show_wqmatrix ggplot class", {
  result <- show_wqmatrix(epcdata, abbrev = TRUE, partialyr = TRUE)
  expect_is(result, 'ggplot')
})
test_that("Checking show_wqmatrix reactable class", {
  result <- show_wqmatrix(epcdata, asreact = TRUE, abbrev = TRUE)
  expect_is(result, 'reactable')
})
test_that("Checking show_wqmatrix plotly class", {
  result <- show_wqmatrix(epcdata, plotly = T)
  expect_is(result, 'plotly')
})
tbep-tech/tbeptools documentation built on April 13, 2025, 4:50 p.m.