test_that("heatmap functions work", {
tfa <- movienetdata::starwars_tfa
tfa_hm <- activity_heatmap(event_list = tfa$event_list,
char_names = tfa$node_list$char_name,
n_chunks = 10, from = 3)
testthat::expect_true(is.matrix(tfa_hm))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.