tests/testthat/test-chart.R

test_that("chart() creates Chart objects", {
  dtf <- data.frame(x = 1:2, y = 1:2)
  expect_s3_class(chart(dtf, y ~ x), 'Chart')
})
SciViews/chart documentation built on June 3, 2024, 7:26 a.m.