tests/testthat/test-show_perchg.R

test_that("Checking show_perchg class", {
  
  result <- show_perchg(mod, baseyr = 2016, testyr = 2019, ylab = 'Chlorophyll-a (ug/L)')
  
  expect_is(result, 'ggplot')
  
})

Try the wqtrends package in your browser

Any scripts or data that you put into this service are public.

wqtrends documentation built on Sept. 11, 2024, 9:04 p.m.