tests/testthat/test-plot_pairwise.R

test_that("plot pairwise", {
  p <- plot_pairwise(pairwise(iris[1:4,]))
  expect_s3_class(p, "ggplot")
})

test_that("plot pairwise linear", {
  p <- plot_pairwise_linear(pairwise(iris[1:4,]))
  expect_s3_class(p, "ggplot")
})

Try the bullseye package in your browser

Any scripts or data that you put into this service are public.

bullseye documentation built on Sept. 11, 2024, 9:24 p.m.