Nothing
test_that("a simple plot gets produced", {
require(ggplot2)
require(geoheatmap)
require(geofacet)
data(internet, package = "geoheatmap")
internet_2015 <- subset(internet, year == 2015)
geoheatmap(facet_data = internet_2015, grid_data = europe_countries_grid1,
facet_col = "country", value_col = "users") -> gg
# Expect that gg is a ggplot object
expect_s3_class(gg, "ggplot")
gb <- ggplot_build(gg)
# Expect that the plot contains at least one layer
expect_gt(length(gb$layout$panel_params), 0)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.