test_that("Checking show_trndseason class", { result <- show_trndseason(mod, doystr = 90, doyend = 180, justify = 'left', win = 5, ylab = 'Slope chlorophyll-a (ug/L)') expect_is(result, 'ggplot') }) test_that("Checking show_trndseason class, usearrow as T", { result <- show_trndseason(mod, doystr = 90, doyend = 180, justify = 'left', win = 5, ylab = 'Slope chlorophyll-a (ug/L)', usearrow = T) expect_is(result, 'ggplot') }) test_that("Checking show_trndseason class, type = approx", { result <- show_trndseason(mod, doystr = 90, doyend = 180, type = 'approx', justify = 'left', win = 5, ylab = 'Slope chlorophyll-a (ug/L)') expect_is(result, 'ggplot') }) test_that("Checking show_trndseason class, model ident", { result <- show_trndseason(modident, doystr = 90, doyend = 180, justify = 'left', win = 5, ylab = 'Slope chlorophyll-a (ug/L)') expect_is(result, 'ggplot') })