Because functions give outputs as plots, unit testing would not work; manually testing each function instead.
?query1
query1()
query1(plot_type = "static", fill = "deaths")
query1(plot_type = "static", fill = "days")
query1(plot_type = "static", fill = "cases", log_scale = TRUE)
query1(plot_type = "static", fill = "deaths", log_scale = TRUE)
query1(plot_type = "static", fill = "days", log_scale = TRUE)
query1(projection = "globular")
query1(projection = "gilbert")
query1(plot_type = "dynamic")
query1(plot_type = "dynamic", fill = "deaths")
query1(plot_type = "dynamic", fill = "days")
query1(plot_type = "dynamic", fill = "cases", log_scale = TRUE)
query1(plot_type = "dynamic", fill = "deaths", log_scale = TRUE)
query1(plot_type = "dynamic", fill = "days", log_scale = TRUE)
query1(plot_type = "dynamic", fill = "deaths", log_scale = TRUE, projection = "gilbert") # should ignore projection for now
query1(palette = "YlGnBu")
query1(plot_type = "dynamic", palette = "Reds", log_scale = T)
query1(plot_type = "null")
query1(fill = 1)
query1(log_scale = 1)
query1(projection = 9)
query1(palette = "rainbow")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.