tests/testthat/test-average_sold_prices.R

context("average_sold_prices")

test_that("average_sold_prices works as expected", {
  # Don't run these tests on the CRAN build servers
  skip_on_cran()
  
  expect_error(average_sold_prices())
  expect_error(average_sold_prices(1))
  expect_error(average_sold_prices("N"))
})
erzk/zooplaR documentation built on Aug. 26, 2019, 11:36 a.m.