## Test `tran()` function
## load packages
library("testthat")
library("analogue")
context("Testing tran()")
## Imbrie and Kipp example
## load the example data
data(ImbrieKipp)
test_that("tran() handles bad inputs", {
expect_error(tran(ImbrieKipp, method = "foo"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.