# test climate plot
test_that("test plot of AnnPrec for Gundagai", {
data <- readRDS("data/sa2_points_climate.rds")
variable <- "AnnPrec"
region <- "Gundagai"
title <- "test climate plot"
climate_plot(data, variable, region, title)
})
test_that("test plot of Maximum Temp for Gundagai", {
data <- readRDS("data/sa2_points_climate.rds")
variable <- "MaxTWarmMonth"
region <- "Gundagai"
title <- "test climate plot"
climate_plot(data, variable, region, title)
})
test_that("test plot of Minimum Temperatues for Gundagai", {
data <- readRDS("data/sa2_points_climate.rds")
variable <- "MinTColdMonth"
region <- "Gundagai"
title <- "test climate plot"
climate_plot(data, variable, region, title)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.