tests/testthat/test-discern_overlap.R

test_that("discern_overlap(Venn) works", {
  x <- list(A=1:3,B=3:7,C=2:9)
  venn <- RVenn::Venn(x)
  expect_equal(discern_overlap(venn,1:3), RVenn::overlap(venn))
})

Try the ggVennDiagram package in your browser

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

ggVennDiagram documentation built on Aug. 14, 2023, 5:09 p.m.