tests/testthat/test-dailyHourlyBarplot.R

context("dailyHourlyBarplot")

test_that("arguments are validated", {
  expect_error(dailyHourlyBarplot("abcd"))
  ws_monitor <- PWFSLSmoke::Carmel_Valley
  expect_error(dailyHourlyBarplot(ws_monitor, hourlyDataType="abcd"))
})
MazamaScience/PWFSLSmokePlots documentation built on Feb. 10, 2020, 9:58 p.m.