Nothing
library(testthat)
precipDeviation <- terra::rast(system.file("extdata/precipDeviation.asc",
package = "climateStability"))
test_that("absLatitudinalMean works", {
expect_error(climateStability::latitudinalMean())
expect_warning(climateStability::latitudinalMean("a"))
testResult <- climateStability::latitudinalMean(precipDeviation)
expect_equal(class(testResult)[[1]], "matrix")
expect_length(testResult, 144)
expect_equal(ncol(testResult), 2)
})
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.