test_that("output is a plot", {
expect_type(contact_location_heatmap(file = deGrom), "list")
expect_type(contact_location_heatmap(file = deGrom, by_pitch_type = FALSE), "list")
expect_type(contact_location_heatmap(file = deGrom, hit.status = TRUE), "list")
expect_type(contact_location_heatmap(file = deGrom, by_pitch_type = FALSE, hit.status = TRUE), "list")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.