tests/testthat/test-pat_monitorComparison.R

context('test-pat_monitorComparison')
data('example_pat', 'example_sensor')

test_that(
  'Plot return classes are correct', 
  expect_s3_class(
    pat_monitorComparison(example_pat, distanceCutoff = 0),
    c('gg', 'ggplot')
  )
)

Try the AirSensor package in your browser

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

AirSensor documentation built on March 13, 2021, 1:07 a.m.