test_that("mipArea works", {
qe <- dplyr::filter(quitte::quitte_example_dataAR6,
.data$scenario == levels(.data$scenario)[[1]],
grepl("Final Energy", .data$variable))
p <- mipArea(qe)
expect_identical(p$labels$x, "Year")
expect_identical(p$labels$y, "Final Energy (EJ/yr)")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.