tests/testthat/test-bdiv_heatmap.r

test_that("bdiv_heatmap", {
  
  expect_silent(bdiv_heatmap(rare5, weighted=c(TRUE,FALSE), tracks=c("Body Site", "Age")))
  
  skip_on_cran()
  
  expect_silent(bdiv_heatmap(rare5, weighted=c(TRUE,FALSE), tracks=c("Body Site", "Age")))
  expect_silent(bdiv_heatmap(rare5[1:2]))
  expect_error(bdiv_heatmap(rare5[1]))
  expect_error(bdiv_heatmap(rare5, title = NA))
})

Try the rbiom package in your browser

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

rbiom documentation built on April 3, 2025, 6:39 p.m.