tests/testthat/test-plot.R

test_that("nesting works", {
  expect_known_output(nest_tables(seabirddiet[1:3,], metrics = "freq_occ"),
                      file =  test_path( "nest_test.Rdata")
  )
})

test_that("popup works", {
    expect_known_output(make_popup(nest_tables(seabirddiet[1:3,], metrics = "freq_occ")),
                        file = test_path("popup_test.Rdata")
    )
})
annakrystalli/seabirddietDB documentation built on Nov. 2, 2019, 1:54 p.m.