tests/testthat/test-distribution_plot.R

context("distribution_plot")

test_that("base function works", {

  g = distribution_plot(mtcars, "mpg")

  expect_equal(nrow(g$data), 32)

})
wkostelecki/ezplot documentation built on Feb. 1, 2024, 10:58 p.m.